summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-10-22 10:47:01 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-10-22 10:47:01 +0000
commit931043a0690a8c2515ee70a623f1d0e2846482cc (patch)
tree4d36dedcf37ce343d6f31f49d006ec45fe45db33 /include
parent5adb1f1160ef745ce6af9b9a85302eff75bbdf3b (diff)
downloadglu-931043a0690a8c2515ee70a623f1d0e2846482cc.tar.gz
define GLUAPI, GLAPIENTRY and GLCALLBACK to nothing if not using Mesa's gl.h
Diffstat (limited to 'include')
-rw-r--r--include/GL/glu.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/GL/glu.h b/include/GL/glu.h
index c400f96..14a8ff5 100644
--- a/include/GL/glu.h
+++ b/include/GL/glu.h
@@ -1,4 +1,4 @@
-/* $Id: glu.h,v 1.10 1999/09/19 10:04:01 tjump Exp $ */
+/* $Id: glu.h,v 1.11 1999/10/22 10:47:01 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -23,6 +23,9 @@
/*
* $Log: glu.h,v $
+ * Revision 1.11 1999/10/22 10:47:01 brianp
+ * define GLUAPI, GLAPIENTRY and GLCALLBACK to nothing if not using Mesa's gl.h
+ *
* Revision 1.10 1999/09/19 10:04:01 tjump
* Changed name 'glGetProcAddressEXT' to 'gluGetProcAddressEXT'
*
@@ -112,6 +115,18 @@ extern "C" {
#endif
#endif
+#ifndef GLUAPI
+#define GLUAPI
+#endif
+
+#ifndef GLAPIENTRY
+#define GLAPIENTRY
+#endif
+
+#ifndef GLCALLBACK
+#define GLCALLBACK
+#endif
+
#define GLU_VERSION_1_1 1
#define GLU_VERSION_1_2 1