aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-20 19:53:06 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-20 19:53:06 -0800
commit78fde14808c0b075bd040d23b1d8cfb349c7cd84 (patch)
tree31b47e7c8b597a156314c755751c09debcbc1c99 /system
parent62d5c159873ad08a4f3ec35074b2cdc7a3c46455 (diff)
fix feof, plus test
Diffstat (limited to 'system')
-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 fb4501c4..1b0c30f5 100644
--- a/system/include/libc/stdio.h
+++ b/system/include/libc/stdio.h
@@ -647,7 +647,7 @@ _ELIDABLE_INLINE int __sputc_r(struct _reent *_ptr, int _c, FILE *_p) {
#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
#define __sfileno(p) ((p)->_file)
-#ifndef _REENT_SMALL
+#if 0 /* XXX Emscripten ndef _REENT_SMALL */
#define feof(p) __sfeof(p)
#define ferror(p) __sferror(p)
#define clearerr(p) __sclearerr(p)