File: gl-headers.cfg

package info (click to toggle)
libjogl2-java 2.3.2%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 43,876 kB
  • sloc: java: 218,529; ansic: 75,727; xml: 6,703; objc: 3,139; sh: 2,736; cpp: 139; awk: 46; makefile: 29
file content (36 lines) | stat: -rw-r--r-- 1,427 bytes parent folder | download | duplicates (4)
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
CustomCCode #include <stdio.h> /* android */
CustomCCode #include <GL/gl-platform.h>
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   #include <stdlib.h>
CustomCCode   #include <stddef.h>
CustomCCode   #include <malloc.h>
CustomCCode   /* Include the OpenGL headers */
CustomCCode   #include <GL/gl.h>
CustomCCode   #include <GL/glext.h>
CustomCCode   #include <GL/glext-supplement.h>
CustomCCode #elif defined(__APPLE__)
CustomCCode   #include <inttypes.h>
CustomCCode   #include <stdlib.h>
CustomCCode   /* Include the OpenGL headers */
CustomCCode   #include <GL/gl.h>
CustomCCode   #include <GL/glext.h>
CustomCCode   #include <GL/glext-supplement.h>
CustomCCode   #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   /* Include the OpenGL headers */
CustomCCode   #include <GL/gl.h>
CustomCCode   #include <GL/glext.h>
CustomCCode   #include <GL/glext-supplement.h>
CustomCCode   /* Provide Windows typedefs */
CustomCCode   typedef void* LPVOID;
CustomCCode   typedef unsigned int* PUINT;
CustomCCode #endif