aboutsummaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-07 17:54:01 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-07 17:54:01 -0700
commit42a6216329d5dee646003f441d4908dd86b804a8 (patch)
tree74df15636bee42e9434885b6ad0710f0b931686e /system/include
parent09c67774af1379b51a1ac802a25c07f00a45cf0f (diff)
fix stdio streams and printing of chars; fixes freetype
Diffstat (limited to 'system/include')
-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 2912eafa..a92de046 100644
--- a/system/include/libc/stdio.h
+++ b/system/include/libc/stdio.h
@@ -657,7 +657,7 @@ _ELIDABLE_INLINE int __sputc_r(struct _reent *_ptr, int _c, FILE *_p) {
#define fileno(p) __sfileno(p)
#endif
-#ifndef __CYGWIN__
+#if !defined(__CYGWIN__) && !defined(EMSCRIPTEN)
#ifndef lint
#define getc(fp) __sgetc_r(_REENT, fp)
#define putc(x, fp) __sputc_r(_REENT, x, fp)