Commit d72e669b79085ccfb9a540476da081745ade154f

sammy 2008-04-25T09:59:35

* OS X Leopard build fix. Starting from this version, GLUTesselatorFunction has a standard prototype again. Patch by Kent Mein, taken from Blender commit r11864.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp
index bab3be6..7f91548 100644
--- a/src/FTVectoriser.cpp
+++ b/src/FTVectoriser.cpp
@@ -42,7 +42,7 @@
 #define CALLBACK
 #endif
 
-#if defined __APPLE_CC__
+#if defined __APPLE_CC__ && __APPLE_CC__ < 5465
     typedef GLvoid (*GLUTesselatorFunction) (...);
 #elif defined WIN32 && !defined __CYGWIN__
     typedef GLvoid (CALLBACK *GLUTesselatorFunction) ();