aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/stdio.h')
-rw-r--r--system/include/libc/stdio.h2
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