Added GLU_TESS_CALLBACK_TRIPLEDOT path into include/osg/GLU and enabled this

for AIX as reading the old paths this was required.  This looks like it is needed
under Xcode build as well.
This commit is contained in:
Robert Osfield 2007-10-03 20:21:01 +00:00
parent 38542c3986
commit 73b5712a7a
2 changed files with 8 additions and 2 deletions

View File

@ -99,7 +99,9 @@ INCLUDE_DIRECTORIES(
# Platform specific definitions
IF (CMAKE_SYSTEM MATCHES "AIX.*")
ADD_DEFINITIONS(-DGLU_TESS_CALLBACK_TRIPLEDOT)
ENDIF(CMAKE_SYSTEM MATCHES "AIX.*")
IF(WIN32)
ADD_DEFINITIONS(-D_SCL_SECURE_NO_WARNINGS)

View File

@ -22,6 +22,10 @@
#include <GL/glu.h>
#endif
typedef void (APIENTRY *GLU_TESS_CALLBACK)();
#if defined(GLU_TESS_CALLBACK_TRIPLEDOT)
typedef void (APIENTRY *GLU_TESS_CALLBACK)(...);
#else
typedef void (APIENTRY *GLU_TESS_CALLBACK)();
#endif
#endif // __osgGLU_h