summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-08-27 21:47:31 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-08-27 21:47:31 +0000
commit41771982c4e85e5a37d8ddac6b83de46391af478 (patch)
treec36c7cafc454e02dbfd850e37064f4d108013433 /include/GL
parentfb657ef91da29120ff65580f0b27914752273025 (diff)
define GLAPIENTRY and GLAPI if not defined in gl.h
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/glu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/GL/glu.h b/include/GL/glu.h
index 36bd7c1398..5eaa554748 100644
--- a/include/GL/glu.h
+++ b/include/GL/glu.h
@@ -36,6 +36,14 @@
#include <GL/gl.h>
+#ifndef GLAPIENTRY
+#define GLAPIENTRY
+#endif
+
+#ifndef GLAPI
+#define GLAPI
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif