diff options
Diffstat (limited to 'src/nativewindow/native')
-rw-r--r-- | src/nativewindow/native/windows/GDImisc.c | 18 | ||||
-rw-r--r-- | src/nativewindow/native/x11/XineramaHelper.c | 2 |
2 files changed, 2 insertions, 18 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> diff --git a/src/nativewindow/native/x11/XineramaHelper.c b/src/nativewindow/native/x11/XineramaHelper.c index 899bbba55..25a79645b 100644 --- a/src/nativewindow/native/x11/XineramaHelper.c +++ b/src/nativewindow/native/x11/XineramaHelper.c @@ -35,7 +35,7 @@ determine whether the Xinerama extension is in use and therefore to treat the multiple AWT screens as one large screen. */ -#include <inttypes.h> +#include <gluegen_stdint.h> #include <X11/Xlib.h> #ifdef __sun |