From 536dc9979ae965fd5fc0e14bb306c6e2d12ac584 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 11 Jun 2011 01:50:42 +0200 Subject: 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) --- src/nativewindow/native/windows/GDImisc.c | 18 +----------------- src/nativewindow/native/x11/XineramaHelper.c | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) (limited to 'src/nativewindow/native') 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 #include -#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 - #endif -#else - #include -#endif +#include #include 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 +#include #include #ifdef __sun -- cgit v1.2.3