From 800c7da4656277810d579e76b74558434bb6467c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 25 Jun 2008 03:03:40 +0000 Subject: native compilation clean: X11 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1679 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/build.xml | 52 +++++++++++++++++++++++++++------------------------- make/gl-es1.cfg | 2 +- make/gl-es2.cfg | 6 +++--- make/intptr.cfg | 26 ++++++++++++++------------ 4 files changed, 45 insertions(+), 41 deletions(-) diff --git a/make/build.xml b/make/build.xml index 08717369f..1d38c59ef 100644 --- a/make/build.xml +++ b/make/build.xml @@ -1200,6 +1200,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -1229,30 +1252,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + diff --git a/make/gl-es1.cfg b/make/gl-es1.cfg index 4dcad5bed..d81b8d0cc 100755 --- a/make/gl-es1.cfg +++ b/make/gl-es1.cfg @@ -184,7 +184,7 @@ CustomCCode "glext.h" are parsed. */ CustomCCode #define GL_GLEXT_PROTOTYPES CustomCCode /* Include the OpenGL headers */ -CustomCCode #define GL_APICALL __declspec(dllimport) +CustomCCode /* #define GL_APICALL __declspec(dllimport) */ CustomCCode #include CustomCCode #include CustomCCode #include diff --git a/make/gl-es2.cfg b/make/gl-es2.cfg index f190bebbe..1371dde64 100755 --- a/make/gl-es2.cfg +++ b/make/gl-es2.cfg @@ -181,11 +181,11 @@ CustomCCode "glext.h" are parsed. */ CustomCCode #define GL_GLEXT_PROTOTYPES CustomCCode /* Include the OpenGL headers */ -CustomCCode #define GL_APICALL __declspec(dllimport) +CustomCCode /* #define GL_APICALL __declspec(dllimport) */ CustomCCode #include CustomCCode #include -CustomCCode /* Include missing function pointer typedef */ -CustomCCode typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); +# CustomCCode /* Include missing function pointer typedef */ +# CustomCCode typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); CustomCCode typedef int intptr_t; diff --git a/make/intptr.cfg b/make/intptr.cfg index 04c9605ec..42f910004 100755 --- a/make/intptr.cfg +++ b/make/intptr.cfg @@ -1,15 +1,17 @@ CustomCCode #ifdef WIN32 -CustomCCode #ifdef _MSC_VER -CustomCCode /* This typedef is apparently needed for Microsoft compilers before VC8, -CustomCCode and on Windows CE */ -CustomCCode #if (_MSC_VER < 1400) || defined(UNDER_CE) -CustomCCode #ifdef _WIN64 -CustomCCode typedef long long intptr_t; +CustomCCode #ifdef _MSC_VER +CustomCCode /* This typedef is apparently needed for Microsoft compilers before VC8, +CustomCCode and on Windows CE */ +CustomCCode #if (_MSC_VER < 1400) || defined(UNDER_CE) +CustomCCode #ifdef _WIN64 +CustomCCode typedef long long intptr_t; +CustomCCode #else +CustomCCode typedef int intptr_t; +CustomCCode #endif +CustomCCode #endif +CustomCCode #else +CustomCCode #include +CustomCCode #endif CustomCCode #else -CustomCCode typedef int intptr_t; -CustomCCode #endif -CustomCCode #endif -CustomCCode #else -CustomCCode #include -CustomCCode #endif +CustomCCode #include CustomCCode #endif -- cgit v1.2.3