aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-30 20:21:04 -0500
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-30 20:21:04 -0500
commitf4018dfb9741d111a5358e918e445c5b1b10a370 (patch)
tree74425ff6d052bdeb2e604e9d2b0e769d0cb318d9 /system
parentf10e3e811dee7522e737a93a3db53a5db1cf0b32 (diff)
Make sure that sys/types.h defines old-style C sized types
Diffstat (limited to 'system')
-rw-r--r--system/include/libc/sys/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/sys/types.h b/system/include/libc/sys/types.h
index 734004e7..ab6e895b 100644
--- a/system/include/libc/sys/types.h
+++ b/system/include/libc/sys/types.h
@@ -134,7 +134,7 @@ typedef unsigned long ino_t; /* XXX Emscripten */
#endif
#endif /*__CYGWIN__*/
-#ifdef __MS_types__
+#if defined(__MS_types__) || defined(EMSCRIPTEN)
typedef unsigned long vm_offset_t;
typedef unsigned long vm_size_t;