define GLAPIENTRY and GLAPI if not defined in gl.h

This commit is contained in:
Brian Paul 2002-08-27 21:47:31 +00:00
parent fb657ef91d
commit 41771982c4
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,14 @@
#include <GL/gl.h>
#ifndef GLAPIENTRY
#define GLAPIENTRY
#endif
#ifndef GLAPI
#define GLAPI
#endif
#ifdef __cplusplus
extern "C" {
#endif