diff options
author | Kenneth Russel <[email protected]> | 2005-01-31 08:36:18 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-01-31 08:36:18 +0000 |
commit | 14878b7669c08fcf6137b64d07f17bfe1f41a214 (patch) | |
tree | 04710419ce2551c45ecb84bbe74e82bee2265a43 | |
parent | 622b37983ad1fe679fb7e75495305b82dd78a8ce (diff) |
Fixed Issue 99: intptr_t undefined compiling with VS .NET 2003 VC++
Applied patch from submitter. I am not convinced it is correct because
we definitely needed that #if clause in order to make JOGL compile
with VC7. However, since I don't have a VC7 installation to test with
and since the patch reportedly makes it work with Visual Studio 2003,
I'll assume it's correct.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@198 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r-- | src/native/jogl/BufferUtils.c | 4 | ||||
-rw-r--r-- | src/native/jogl/InternalBufferUtils.c | 4 |
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 |