CustomCCode #include <stdio.h> /* android */
CustomCCode #include <GL/gl-platform.h>
CustomCCode #if defined(_WIN32)
CustomCCode   #include <stdlib.h>
CustomCCode   #include <stddef.h>
CustomCCode   #include <malloc.h>
CustomCCode   /* Define WGL_WGLEXT_PROTOTYPES so that the OpenGL extension prototypes in
CustomCCode      "wglext.h" are parsed. */
CustomCCode   #define WGL_WGLEXT_PROTOTYPES
CustomCCode   /* included implicit via windows header: #include <wingdi.h> */
CustomCCode   #include <gl-types.h>
CustomCCode   #include <GL/wglext.h>
CustomCCode #elif defined(__APPLE__)
CustomCCode   #include <inttypes.h>
CustomCCode   #include <stdlib.h>
CustomCCode   /* Provide Windows typedefs */
CustomCCode   typedef void* LPVOID;
CustomCCode   typedef unsigned int* PUINT;
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   /* Define GLX_GLXEXT_PROTOTYPES so that the OpenGL extension prototypes in
CustomCCode      "glxext.h" are parsed. */
CustomCCode   #define GLX_GLXEXT_PROTOTYPES
CustomCCode   #include <gl-types.h>
CustomCCode   #include <GL/glx.h>
CustomCCode   #include <GL/glxext.h>
CustomCCode   /* Provide Windows typedefs */
CustomCCode   typedef void* LPVOID;
CustomCCode   typedef unsigned int* PUINT;
CustomCCode #endif