diff options
author | Kenneth Russel <[email protected]> | 2007-01-03 09:37:40 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2007-01-03 09:37:40 +0000 |
commit | da9c4dd399d2742afb429f50e8ddc9c93867558c (patch) | |
tree | 2bb8508392850b43adf16f0d5bb6670a12d00fc9 | |
parent | fb65a3ccb2c05d70e6a4c642d96d57b9135accd5 (diff) |
Fixes for building with Visual Studio .NET 2003 (Service Pack 1)
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1063 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r-- | make/gl-win32.cfg | 4 | ||||
-rw-r--r-- | make/wglext.cfg | 4 | ||||
-rw-r--r-- | src/native/jogl/InternalBufferUtils.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/make/gl-win32.cfg b/make/gl-win32.cfg index 98278bd46..96234241c 100644 --- a/make/gl-win32.cfg +++ b/make/gl-win32.cfg @@ -27,8 +27,8 @@ CustomCCode #define GL_GLEXT_PROTOTYPES CustomCCode /* Include the OpenGL headers */ CustomCCode #include <GL/gl.h> -CustomCCode /* This typedef is only needed for VC6 */ -CustomCCode #if _MSC_VER <= 1200 +CustomCCode /* This typedef is apparently needed for compilers before VC8 */ +CustomCCode #if _MSC_VER < 1400 CustomCCode typedef int intptr_t; CustomCCode #endif diff --git a/make/wglext.cfg b/make/wglext.cfg index eedcd4d72..822c24ab8 100644 --- a/make/wglext.cfg +++ b/make/wglext.cfg @@ -34,8 +34,8 @@ CustomCCode /* Include the OpenGL headers */ CustomCCode #include <GL/gl.h> CustomCCode #include <GL/wglext.h> -CustomCCode /* This typedef is only needed for VC6 */ -CustomCCode #if _MSC_VER <= 1200 +CustomCCode /* This typedef is apparently needed for compilers before VC8 */ +CustomCCode #if _MSC_VER < 1400 CustomCCode typedef int intptr_t; CustomCCode #endif diff --git a/src/native/jogl/InternalBufferUtils.c b/src/native/jogl/InternalBufferUtils.c index 292d69f9d..cfda63ede 100644 --- a/src/native/jogl/InternalBufferUtils.c +++ b/src/native/jogl/InternalBufferUtils.c @@ -40,8 +40,8 @@ #include <jni.h> #ifdef _MSC_VER - /* This typedef seems to be needed at least for VC6 and Visual Studio 2003 */ - #if _MSC_VER <= 1300 + /* This typedef is apparently needed for compilers before VC8 */ + #if _MSC_VER < 1400 typedef int intptr_t; #endif #else |