summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorGerard Ziemski <[email protected]>2004-12-27 21:56:54 +0000
committerGerard Ziemski <[email protected]>2004-12-27 21:56:54 +0000
commit1c36f404128ad439dbb4757e9fdbc3fa956619ff (patch)
tree1e80deae27de87cbfe16c0dbfda1e0e488163c26 /make
parent167641d406619ba710e2d50005b6886d2874a251 (diff)
make sure we include header defining intptr_t, so that we build on Mac OS X
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@185 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/cgl-macosx.cfg3
-rw-r--r--make/gl-impl-macosx.cfg2
-rw-r--r--make/glu-impl-macosx.cfg2
-rw-r--r--make/jawt-macosx.cfg2
4 files changed, 9 insertions, 0 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg
index b3eab2184..7d9111c94 100644
--- a/make/cgl-macosx.cfg
+++ b/make/cgl-macosx.cfg
@@ -13,6 +13,8 @@ Opaque long void *
# this was the easiest way of sharing the prototypes between these files
CustomCCode typedef int Bool;
+CustomCCode #include </usr/include/ppc/types.h>
+
CustomCCode extern void* createContext(void* shareContext, void* nsView,
CustomCCode int redBits,
CustomCCode int greenBits,
@@ -45,3 +47,4 @@ CustomCCode extern void* getProcAddress(const char *procName);
# Implement the first argument to getProcAddress as String instead
# of byte[]
ArgumentIsString getProcAddress 0
+
diff --git a/make/gl-impl-macosx.cfg b/make/gl-impl-macosx.cfg
index 9edf96731..10b77dbfa 100644
--- a/make/gl-impl-macosx.cfg
+++ b/make/gl-impl-macosx.cfg
@@ -22,6 +22,8 @@ CustomCCode #define GL_GLEXT_PROTOTYPES
CustomCCode /* Include the OpenGL headers */
CustomCCode #include <GL/gl.h>
+CustomCCode #include </usr/include/ppc/types.h>
+
CustomCCode /* Provide Windows typedefs */
CustomCCode typedef void* LPVOID;
CustomCCode typedef unsigned int* PUINT;
diff --git a/make/glu-impl-macosx.cfg b/make/glu-impl-macosx.cfg
index 6dac11f54..dbbf31412 100644
--- a/make/glu-impl-macosx.cfg
+++ b/make/glu-impl-macosx.cfg
@@ -5,3 +5,5 @@ Include glu-impl-common.cfg
CustomCCode #include <inttypes.h>
CustomCCode #include <jni.h>
+
+CustomCCode #include </usr/include/ppc/types.h> \ No newline at end of file
diff --git a/make/jawt-macosx.cfg b/make/jawt-macosx.cfg
index 829e4f80a..6c1a13b85 100644
--- a/make/jawt-macosx.cfg
+++ b/make/jawt-macosx.cfg
@@ -18,6 +18,8 @@ IgnoreField JAWT_DrawingSurfaceInfo platformInfo
CustomCCode #include <inttypes.h>
CustomCCode #include <jawt.h>
+CustomCCode #include </usr/include/ppc/types.h>
+
Import net.java.games.jogl.impl.JAWT_PlatformInfo
StructPackage JAWT_MacOSXDrawingSurfaceInfo net.java.games.jogl.impl.macosx
EmitStruct JAWT_MacOSXDrawingSurfaceInfo