From 20298685c317512fbfaa8da1996324bf75f9ca32 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Sep 1999 00:06:14 +0000 Subject: [PATCH] gluGetProcAddressEXT change for C++ / BeOS --- src/glu/mesa/glu.c | 12 ++++++++++-- 1 file 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; -- 2.30.2