summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-07-19 02:04:52 +0200
committerSven Gothel <[email protected]>2010-07-19 02:04:52 +0200
commit1d31bbd26343acaf632ce2a1e17bc8ba4119216e (patch)
tree573d1ff62ab46411e1e581d06ddfa6e628940496
parent5c67883ba47c8510e5826e38fb09333245e10335 (diff)
Fix OSX 1: Add empty define of APIENTRY, if undefined (CG)
-rw-r--r--make/config/jogl/cg-common.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/config/jogl/cg-common.cfg b/make/config/jogl/cg-common.cfg
index ae29d3f80..af7e9d268 100644
--- a/make/config/jogl/cg-common.cfg
+++ b/make/config/jogl/cg-common.cfg
@@ -121,5 +121,9 @@ RuntimeExceptionType CgException
CustomCCode #include <stdlib.h>
CustomCCode #include <Cg/cgGL.h>
+CustomCCode
+CustomCCode #ifndef APIENTRY
+CustomCCode #define APIENTRY
+CustomCCode #endif
IncludeAs CustomJavaCode CgGL cg-common-CustomJavaCode.java