diff options
author | Kenneth Russel <[email protected]> | 2009-06-15 22:57:38 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-15 22:57:38 +0000 |
commit | a959c53b7ac91e489bf0959391e892790b9ff248 (patch) | |
tree | 4664742a4f9f6daa694364292e376ad2e6ee97d1 /make/config/jogl/gl3-headers.cfg | |
parent | 506b634b780dcd23aa61015c2ceba3e687196abf (diff) |
Copied JOGL_2_SANDBOX r1957 on to trunk; JOGL_2_SANDBOX branch is now closed
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1959 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/config/jogl/gl3-headers.cfg')
-rwxr-xr-x | make/config/jogl/gl3-headers.cfg | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/make/config/jogl/gl3-headers.cfg b/make/config/jogl/gl3-headers.cfg new file mode 100755 index 000000000..282a91ec5 --- /dev/null +++ b/make/config/jogl/gl3-headers.cfg @@ -0,0 +1,29 @@ +CustomCCode /* Define GL3_PROTOTYPES so that the OpenGL extension prototypes in +CustomCCode "gl3.h" are parsed. */ +CustomCCode #define GL3_PROTOTYPES +CustomCCode #if defined(_WIN32) +CustomCCode #define WIN32_LEAN_AND_MEAN +CustomCCode #include <windows.h> +CustomCCode #undef WIN32_LEAN_AND_MEAN +CustomCCode #include <stdlib.h> +CustomCCode #include <stddef.h> +CustomCCode #include <malloc.h> +CustomCCode #include <GL3/gl3.h> +CustomCCode #elif defined(macosx) +CustomCCode #include <inttypes.h> +CustomCCode #include <stdlib.h> +CustomCCode #include <GL3/gl3.h> +CustomCCode #include </usr/include/machine/types.h> +CustomCCode /* Provide Windows typedefs */ +CustomCCode typedef void* LPVOID; +CustomCCode typedef unsigned int* PUINT; +CustomCCode #elif defined(linux) || defined(__sun) || defined(__FreeBSD__) || defined(_HPUX) +CustomCCode #include <inttypes.h> +CustomCCode #include <stdlib.h> +CustomCCode #include <X11/Xlib.h> +CustomCCode #include <GL3/gl3.h> +CustomCCode #endif +CustomCCode /* Provide GLES #define for locally generated function pointer typedefs */ +CustomCCode #ifndef GL_APIENTRY +CustomCCode #define GL_APIENTRY GLAPIENTRY +CustomCCode #endif |