More Win32 build compliance fixups

This commit is contained in:
Ted Jump
1999-09-19 02:03:18 +00:00
parent 1bf9dfaf5d
commit 725ec81ae8
7 changed files with 23 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: gl.h,v 1.7 1999/09/18 01:06:52 brianp Exp $ */
/* $Id: gl.h,v 1.8 1999/09/19 02:03:18 tjump Exp $ */
/*
* Mesa 3-D graphics library
@@ -2181,16 +2181,10 @@ GLAPI void GLAPIENTRY glUnlockArraysEXT( void );
* If you want to try it out, #define GL_EXT_get_proc_address before
* #include <GL/gl.h>
*/
#define GL_EXT_get_proc_address 1
#ifdef GL_EXT_get_proc_address
#ifdef __WIN32__
typedef (void GLAPIENTRY *glProcAddress)();
glProcAddress GLAPIENTRY glGetProcAddressEXT(const GLubyte *procName);
#else
/* everything but Windows */
GLAPI void GLAPIENTRY (*glGetProcAddressEXT(const GLubyte *procName))();
GLAPI void (GLAPIENTRY *glGetProcAddressEXT(const GLubyte *procName))();
#endif
#endif
#if defined(__BEOS__) || defined(__QUICKDRAW__)
#pragma export off