diff options
author | Sven Gothel <[email protected]> | 2010-03-28 03:48:23 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-03-28 03:48:23 +0200 |
commit | 4bddfd767d2cd50daa119cdacef14a62970b48be (patch) | |
tree | 7939b2b38dfa1d29a6550490ae07e046e4953ee0 /make/config/intptr.cfg | |
parent | 93c16379f28104b079a12e7ed9787da439e54a3c (diff) |
Add missing file
Diffstat (limited to 'make/config/intptr.cfg')
-rwxr-xr-x | make/config/intptr.cfg | 17 |
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 |