summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-09-17 00:06:14 +0000
committerBrian Paul <[email protected]>1999-09-17 00:06:14 +0000
commit20298685c317512fbfaa8da1996324bf75f9ca32 (patch)
tree74568324d6c2ade1a781cd17a73064f6af20a40c
parent3d7e15533ffcb47e7f653c6f16aa541356cbd7c2 (diff)
gluGetProcAddressEXT change for C++ / BeOS
-rw-r--r--src/glu/mesa/glu.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/glu/mesa/glu.c b/src/glu/mesa/glu.c
index e7338a3ac90..dea618f5134 100644
--- a/src/glu/mesa/glu.c
+++ b/src/glu/mesa/glu.c
@@ -1,4 +1,4 @@
-/* $Id: glu.c,v 1.9 1999/09/16 22:37:56 brianp Exp $ */
+/* $Id: glu.c,v 1.10 1999/09/17 00:06:14 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -23,6 +23,9 @@
/*
* $Log: glu.c,v $
+ * Revision 1.10 1999/09/17 00:06:14 brianp
+ * gluGetProcAddressEXT change for C++ / BeOS
+ *
* Revision 1.9 1999/09/16 22:37:56 brianp
* added some casts in gluGetProcAddressEXT()
*
@@ -363,7 +366,12 @@ const GLubyte* GLAPIENTRY gluGetString( GLenum name )
#ifdef GLU_EXT_get_proc_address
-void GLAPIENTRY (*gluGetProcAddressEXT(const GLubyte *procName))()
+#ifdef __cplusplus
+/* for BeOS R4.5 */
+void GLAPIENTRY (*gluGetProcAddressEXT(const GLubyte *procName))(...)
+#else
+void GLAPIENTRY (*gluGetProcAddressEXT(const GLubyte *procName))(...)
+#endif
{
struct proc {
const char *name;