summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/replacement/stddef.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-29 04:24:20 +0200
committerSven Gothel <[email protected]>2010-03-29 04:24:20 +0200
commit2138fc787c1e497be7f373aa68b3f751c955008f (patch)
treed4b1a1dc63602bef8073e70d709faa2821b5dddd /make/stub_includes/replacement/stddef.h
parentca2ccb29bd3cd4d9c73ca96ce02402888ac9e9af (diff)
New Int64Buffer type, which is being used for gluegen 'long *'
Diffstat (limited to 'make/stub_includes/replacement/stddef.h')
-rw-r--r--make/stub_includes/replacement/stddef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/make/stub_includes/replacement/stddef.h b/make/stub_includes/replacement/stddef.h
new file mode 100644
index 0000000..8aa7005
--- /dev/null
+++ b/make/stub_includes/replacement/stddef.h
@@ -0,0 +1,7 @@
+#if defined(_WIN64)
+ typedef __int64 ptrdiff_t;
+#elif defined(__ia64__) || defined(__x86_64__)
+ typedef long int ptrdiff_t;
+#else
+ typedef int ptrdiff_t;
+#endif