aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-18 17:12:46 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-18 17:12:46 -0700
commit17b1418b0a1a1519ae4922252f0b1e472096bb0b (patch)
tree36e1033cb4e962d2d5834a339f99e06becdc1c29 /system/include/libc
parentbe20834b7620ca448217d8dfc3c0a1b2e1d5b3da (diff)
ctype.h fix to not use macros
Diffstat (limited to 'system/include/libc')
-rw-r--r--system/include/libc/ctype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/include/libc/ctype.h b/system/include/libc/ctype.h
index 6df2e7c4..43d21f3f 100644
--- a/system/include/libc/ctype.h
+++ b/system/include/libc/ctype.h
@@ -33,9 +33,9 @@ int _EXFUN(toascii, (int __c));
#ifndef _MB_CAPABLE
_CONST
#endif
-extern __IMPORT char *__ctype_ptr__;
+/* XXX Emscripten extern __IMPORT char *__ctype_ptr__; */
-#ifndef __cplusplus
+#if 0 /* ndef __cplusplus XXX Emscripten: Do not use the macros here. always use the simple functions */
/* XXX Emscripten - these confuse libc++. moved to inside ifndef __cplusplus, and added CTYPE_ */
#define CTYPE__U 01