aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-28 03:48:23 +0200
committerSven Gothel <[email protected]>2010-03-28 03:48:23 +0200
commit4bddfd767d2cd50daa119cdacef14a62970b48be (patch)
tree7939b2b38dfa1d29a6550490ae07e046e4953ee0 /make
parent93c16379f28104b079a12e7ed9787da439e54a3c (diff)
Add missing file
Diffstat (limited to 'make')
-rwxr-xr-xmake/config/intptr.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/make/config/intptr.cfg b/make/config/intptr.cfg
new file mode 100755
index 0000000..c946e48
--- /dev/null
+++ b/make/config/intptr.cfg
@@ -0,0 +1,17 @@
+CustomCCode #ifdef _WIN32
+CustomCCode #ifdef _MSC_VER
+CustomCCode /* This typedef is apparently needed for Microsoft compilers before VC8,
+CustomCCode and on Windows CE */
+CustomCCode #if (_MSC_VER < 1400) || defined(UNDER_CE)
+CustomCCode #ifdef _WIN64
+CustomCCode typedef long long intptr_t;
+CustomCCode #else
+CustomCCode typedef int intptr_t;
+CustomCCode #endif
+CustomCCode #endif
+CustomCCode #else
+CustomCCode #include <inttypes.h>
+CustomCCode #endif
+CustomCCode #else
+CustomCCode #include <inttypes.h>
+CustomCCode #endif