summaryrefslogtreecommitdiff
path: root/include
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
commit902d681d905d2313cff7244457e084a392b01ef7 (patch)
tree51f1afffeab01e807a2bb06e3eb57f8e4d1a5f72 /include
parent94da777c8548e0e9d5fd9c5c6a0d19dcd2172d08 (diff)
downloadglu-902d681d905d2313cff7244457e084a392b01ef7.tar.gz
define GLAPIENTRY and GLAPI if not defined in gl.h
Diffstat (limited to 'include')
-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 36bd7c1..5eaa554 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