summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native/windows/GDImisc.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-06-11 01:50:42 +0200
committerSven Gothel <[email protected]>2011-06-11 01:50:42 +0200
commit536dc9979ae965fd5fc0e14bb306c6e2d12ac584 (patch)
treeaa94f1db80145b203e074a3313986897d355aaa6 /src/nativewindow/native/windows/GDImisc.c
parent9ea120c599476901fdfcc39f133abf26d7d22c0c (diff)
Utilize GlueGen's platform independent header for stdin.h, gluegen_stdint.h, .. (remove local copy)
- Use them for gluegen code generation - Use them for native compilation (cc)
Diffstat (limited to 'src/nativewindow/native/windows/GDImisc.c')
-rw-r--r--src/nativewindow/native/windows/GDImisc.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/nativewindow/native/windows/GDImisc.c b/src/nativewindow/native/windows/GDImisc.c
index 9bead17ec..e8285008e 100644
--- a/src/nativewindow/native/windows/GDImisc.c
+++ b/src/nativewindow/native/windows/GDImisc.c
@@ -9,23 +9,7 @@
#include <wingdi.h>
#include <stddef.h>
-#ifdef _WIN32
- #ifdef _MSC_VER
- /* This typedef is apparently needed for Microsoft compilers before VC8,
- and on Windows CE */
- #if (_MSC_VER < 1400) || defined(UNDER_CE)
- #ifdef _WIN64
- typedef long long intptr_t;
- #else
- typedef int intptr_t;
- #endif
- #endif
- #else
- #include <inttypes.h>
- #endif
-#else
- #include <inttypes.h>
-#endif
+#include <gluegen_stdint.h>
#include <stdio.h>