diff options
-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 |