From bdc94ea4c2ba891b6883bc3a19132ea039f17847 Mon Sep 17 00:00:00 2001 From: nigels Date: Wed, 29 Dec 2010 21:42:21 +0000 Subject: [PATCH] Fix for ID: 3107864 - __int64 problem with bcc32 git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@637 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/src/glew_head.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h index 8049b5a..ff56831 100644 --- a/auto/src/glew_head.h +++ b/auto/src/glew_head.h @@ -167,14 +167,12 @@ typedef float GLclampf; typedef double GLdouble; typedef double GLclampd; typedef void GLvoid; -#if defined(_MSC_VER) -# if _MSC_VER < 1400 +#if defined(_MSC_VER) && _MSC_VER < 1400 typedef __int64 GLint64EXT; typedef unsigned __int64 GLuint64EXT; -# else +#elif defined(_MSC_VER) || defined(__BORLANDC__) typedef signed long long GLint64EXT; typedef unsigned long long GLuint64EXT; -# endif #else # if defined(__MINGW32__) || defined(__CYGWIN__) #include