aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/KDWindow.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-16 03:57:53 +0200
committerSven Gothel <[email protected]>2010-05-16 03:57:53 +0200
commitbaf07fa357d98783fb929d47d8802fbb3f318191 (patch)
treee5671ba76c0c106c38954e766d717a4419ce613c /src/newt/native/KDWindow.c
parent03ce683b4e25716a0973aa6c1acb8698dbb3bb08 (diff)
GlueGen/JOGL Windows x86 x86_64 Builds
x86: Using mingw 20100514, gcc 4.5.0 - clean - passed all junit.run tests x86_64: Using mingw-w64-bin_x86_64-mingw_20100515_sezero.zip, gcc 4.4.5 20100513 - clean - passed most junit.run tests, still buggy
Diffstat (limited to 'src/newt/native/KDWindow.c')
-rwxr-xr-xsrc/newt/native/KDWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/native/KDWindow.c b/src/newt/native/KDWindow.c
index 648a5cf2f..b67b8dbd3 100755
--- a/src/newt/native/KDWindow.c
+++ b/src/newt/native/KDWindow.c
@@ -42,13 +42,13 @@
#ifdef _WIN32
/* This typedef is apparently needed for Microsoft compilers before VC8,
and on Windows CE */
- #if (_MSC_VER < 1400) || defined(UNDER_CE)
+ #if !defined(__MINGW64__) && ( defined(UNDER_CE) || _MSC_VER <= 1400 )
#ifdef _WIN64
typedef long long intptr_t;
#else
typedef int intptr_t;
#endif
- #elif _MSC_VER <= 1500
+ #elif !defined(__MINGW64__) && _MSC_VER <= 1500
#ifdef _WIN64 // [
typedef __int64 intptr_t;
#else // _WIN64 ][