Fix for Apple OSX - GLint is always 32 bit\nReviewed by Milan Ikits, Stephane Denis

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@540 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
nigels 2008-11-02 22:37:19 +00:00
parent 60e7e8d349
commit faa9d69709

View File

@ -143,19 +143,11 @@ extern "C" {
#ifndef GL_VERSION_1_1
#define GL_VERSION_1_1 1
#if defined(__APPLE__)
typedef unsigned long GLenum;
typedef unsigned long GLbitfield;
typedef unsigned long GLuint;
typedef long GLint;
typedef long GLsizei;
#else
typedef unsigned int GLenum;
typedef unsigned int GLbitfield;
typedef unsigned int GLuint;
typedef int GLint;
typedef int GLsizei;
#endif
typedef unsigned char GLboolean;
typedef signed char GLbyte;
typedef short GLshort;