OSX bug fixes

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@187 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2004-01-05 23:09:21 +00:00
parent 5797a89892
commit d8b0c56645
2 changed files with 6 additions and 2 deletions

View File

@ -114,7 +114,7 @@ NAME = GLEW
CC = cc
LD = cc
CFLAGS.EXTRA = -no-cpp-precomp -dynamic -I/usr/X11R6/include
LDFLAGS.SO = -dynamiclib
LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED)
LDFLAGS.EXTRA = -L/usr/X11R6/lib
ifneq (undefined, $(origin GLEW_APPLE_GLX))
CFLAGS.EXTRA += -D'GLEW_APPLE_GLX'

View File

@ -1089,11 +1089,15 @@ GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride,
GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
GLEWAPI GLboolean GLEW_VERSION_1_1;
#define glew_VERSION_1_1 GLEW_VERSION_1_1
#endif /* GL_VERSION_1_1 */
/* ------------------------------------------------------------------------- */
/* this is where we can safely include GLU */
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/glu.h>
#else
#include <GL/glu.h>
#endif