diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-31 10:59:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-31 10:59:36 -0800 |
commit | 4cca0de78b08fac283390274521a7af83c7cf63a (patch) | |
tree | f90ef48f3cbfe9229d7238d359d9be5081a66aeb /system/include/libc/stdio.h | |
parent | 986d21a21dc31040269c9ad8ce8b04a96f6d18ee (diff) |
header fixes for building python from source
Diffstat (limited to 'system/include/libc/stdio.h')
-rw-r--r-- | system/include/libc/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/stdio.h b/system/include/libc/stdio.h index 1b0c30f5..19e460a3 100644 --- a/system/include/libc/stdio.h +++ b/system/include/libc/stdio.h @@ -670,7 +670,7 @@ _ELIDABLE_INLINE int __sputc_r(struct _reent *_ptr, int _c, FILE *_p) { __swbuf_r(_REENT, (int)(x), p) == EOF : (*(p)->_p = (x), (p)->_p++, 0)) #define L_cuserid 9 /* posix says it goes in stdio.h :( */ -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) || defined(EMSCRIPTEN) #define L_ctermid 16 #endif #endif |