aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-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