From 1c36f404128ad439dbb4757e9fdbc3fa956619ff Mon Sep 17 00:00:00 2001 From: Gerard Ziemski Date: Mon, 27 Dec 2004 21:56:54 +0000 Subject: 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 --- make/cgl-macosx.cfg | 3 +++ make/gl-impl-macosx.cfg | 2 ++ make/glu-impl-macosx.cfg | 2 ++ make/jawt-macosx.cfg | 2 ++ 4 files changed, 9 insertions(+) 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 + 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 +CustomCCode #include + 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 CustomCCode #include + +CustomCCode #include \ 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 CustomCCode #include +CustomCCode #include + Import net.java.games.jogl.impl.JAWT_PlatformInfo StructPackage JAWT_MacOSXDrawingSurfaceInfo net.java.games.jogl.impl.macosx EmitStruct JAWT_MacOSXDrawingSurfaceInfo -- cgit v1.2.3