Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2007-11-05 20:27:11 +0300
committerKent Mein <mein@cs.umn.edu>2007-11-05 20:27:11 +0300
commit86278584f3fb28941705eff2f6a885e6ef06357c (patch)
tree718d01c7984bd559c4213c3901eaad4babc88eda /extern
parent9c33c9522f8ba632e1eddf8c4a3ab8366d4b0722 (diff)
Tweaks I needed to get blender compiling on my new macbook running leopard.
Kent
Diffstat (limited to 'extern')
-rw-r--r--extern/bFTGL/src/FTVectoriser.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/extern/bFTGL/src/FTVectoriser.cpp b/extern/bFTGL/src/FTVectoriser.cpp
index bb133d025b4..82dcb0c0f51 100644
--- a/extern/bFTGL/src/FTVectoriser.cpp
+++ b/extern/bFTGL/src/FTVectoriser.cpp
@@ -5,8 +5,12 @@
#define CALLBACK
#endif
-#ifdef __APPLE_CC__
- typedef GLvoid (*GLUTesselatorFunction)(...);
+#if defined(__APPLE_CC__)
+ #if __APPLE_CC__ >= 5465
+ typedef GLvoid (*GLUTesselatorFunction)();
+ #else
+ typedef GLvoid (*GLUTesselatorFunction)(...);
+ #endif
#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__)
typedef GLvoid (*GLUTesselatorFunction)();
#elif defined ( WIN32)