From 14878b7669c08fcf6137b64d07f17bfe1f41a214 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 31 Jan 2005 08:36:18 +0000 Subject: 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 --- src/native/jogl/BufferUtils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/native/jogl/BufferUtils.c') 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 #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 -- cgit v1.2.3