aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-12 22:50:34 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-12 22:50:34 -0800
commit1224991a348c9f69cf7854de4e32ada049705f29 (patch)
treee0280eefa5595122079314e2eb4bd58ed207df72 /system
parentdb37551c793b6ecbef610f00fe4b6018e1e54b21 (diff)
ctype.h header fix
Diffstat (limited to 'system')
-rw-r--r--system/include/libc/ctype.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/include/libc/ctype.h b/system/include/libc/ctype.h
index 43d21f3f..26d3c6ce 100644
--- a/system/include/libc/ctype.h
+++ b/system/include/libc/ctype.h
@@ -30,10 +30,12 @@ int _EXFUN(toascii, (int __c));
#define _toupper(__c) ((unsigned char)(__c) - 'a' + 'A')
#endif
+/* XXX Emscripten
#ifndef _MB_CAPABLE
_CONST
#endif
-/* XXX Emscripten extern __IMPORT char *__ctype_ptr__; */
+ extern __IMPORT char *__ctype_ptr__;
+*/
#if 0 /* ndef __cplusplus XXX Emscripten: Do not use the macros here. always use the simple functions */