File: gl-headers.cfg

package info (click to toggle)
libjogl2-java 2.0-rc5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 23,308 kB
  • sloc: java: 113,441; ansic: 33,817; xml: 4,673; objc: 1,733; sh: 1,261; cpp: 139; awk: 46; makefile: 21
file content (39 lines) | stat: -rw-r--r-- 1,643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
CustomCCode #include <gluegen_stdint.h>
CustomCCode #include <stdio.h> /* android */
CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
CustomCCode    "glext.h" are parsed. */
CustomCCode #define GL_GLEXT_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   /* Define WGL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
CustomCCode      "wglext.h" are parsed. */
CustomCCode   #define WGL_GLEXT_PROTOTYPES
CustomCCode   /* Include the OpenGL headers */
CustomCCode   #include <GL/gl.h>
CustomCCode   #include <GL/wglext.h>
CustomCCode #elif defined(macosx)
CustomCCode   #include <inttypes.h>
CustomCCode   #include <stdlib.h>
CustomCCode   /* Include the OpenGL headers */
CustomCCode   #include <GL/gl.h>
CustomCCode   #include </usr/include/machine/types.h>
CustomCCode   /* Provide Windows typedefs */
CustomCCode   typedef void* LPVOID;
CustomCCode   typedef unsigned int* PUINT;
CustomCCode #elif defined(__unix__)
CustomCCode   #include <inttypes.h>
CustomCCode   #include <stdlib.h>
CustomCCode   #include <X11/Xlib.h>
CustomCCode   /* Define GLX_GLXEXT_PROTOTYPES so that the OpenGL extension prototypes in
CustomCCode      "glxext.h" are parsed. */
CustomCCode   #define GLX_GLXEXT_PROTOTYPES
CustomCCode   /* Include the OpenGL headers */
CustomCCode   #include <GL/gl.h>
CustomCCode   #include <GL/glx.h>
CustomCCode   #include <GL/glxext.h>
CustomCCode #endif