summaryrefslogtreecommitdiffstats
path: root/resources/stubs_includes/common/stddef.h
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-10-12 18:05:21 +0200
committerMichael Bien <[email protected]>2009-10-12 18:05:21 +0200
commit2b05a67d30bde1419c2b0f1b5b427d65b8415eb7 (patch)
tree15ae414e82e515d5255428d32ecdf5ed38a51ea5 /resources/stubs_includes/common/stddef.h
parentbe4e9559f16e3ac5a5d109b26fbb9d579345f25c (diff)
cleaned up resources folder structure and build.
Diffstat (limited to 'resources/stubs_includes/common/stddef.h')
-rw-r--r--resources/stubs_includes/common/stddef.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/stubs_includes/common/stddef.h b/resources/stubs_includes/common/stddef.h
new file mode 100644
index 00000000..da2325af
--- /dev/null
+++ b/resources/stubs_includes/common/stddef.h
@@ -0,0 +1,10 @@
+#if defined(_WIN64)
+ typedef __int64 ptrdiff_t;
+#elif defined(__ia64__) || defined(__x86_64__)
+ typedef long int ptrdiff_t;
+#else
+ typedef int ptrdiff_t;
+#endif
+
+#define NULL ((void *)0)
+ typedef int wchar_t;