summaryrefslogtreecommitdiffstats
path: root/src/newt/native/KDWindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/native/KDWindow.c')
-rw-r--r--src/newt/native/KDWindow.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/newt/native/KDWindow.c b/src/newt/native/KDWindow.c
index be0488fd1..b314f9d44 100644
--- a/src/newt/native/KDWindow.c
+++ b/src/newt/native/KDWindow.c
@@ -39,27 +39,7 @@
#include <stdio.h>
#include <string.h>
-#ifdef _WIN32
- /* This typedef is apparently needed for Microsoft compilers before VC8,
- and on Windows CE */
- #if !defined(__MINGW64__) && ( defined(UNDER_CE) || _MSC_VER <= 1400 )
- #ifdef _WIN64
- typedef long long intptr_t;
- #else
- typedef int intptr_t;
- #endif
- #elif !defined(__MINGW64__) && _MSC_VER <= 1500
- #ifdef _WIN64 // [
- typedef __int64 intptr_t;
- #else // _WIN64 ][
- typedef int intptr_t;
- #endif // _WIN64 ]
- #else
- #include <inttypes.h>
- #endif
-#else
- #include <inttypes.h>
-#endif
+#include <gluegen_stdint.h>
#include <KD/kd.h>