aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/native/jogl/BufferUtils.c4
-rw-r--r--src/native/jogl/InternalBufferUtils.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/native/jogl/BufferUtils.c b/src/native/jogl/BufferUtils.c
index d5ea5b36e..7698b00ba 100644
--- a/src/native/jogl/BufferUtils.c
+++ b/src/native/jogl/BufferUtils.c
@@ -40,8 +40,8 @@
#include <jni.h>
#ifdef _MSC_VER
- /* This typedef is only needed for VC6 */
- #if _MSC_VER <= 1200
+ /* This typedef seems to be needed at least for VC6 and Visual Studio 2003 */
+ #if _MSC_VER <= 1400
typedef int intptr_t;
#endif
#else
diff --git a/src/native/jogl/InternalBufferUtils.c b/src/native/jogl/InternalBufferUtils.c
index 395396ac8..73c52011f 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 is only needed for VC6 */
- #if _MSC_VER <= 1200
+ /* This typedef seems to be needed at least for VC6 and Visual Studio 2003 */
+ #if _MSC_VER <= 1400
typedef int intptr_t;
#endif
#else