summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-05-22 16:26:52 +0000
committerBrian Paul <[email protected]>2000-05-22 16:26:52 +0000
commit4951c0e0a815114f92aca8d3a03a0c2ae1227438 (patch)
tree4678c191bb56654f9b60e7378970d0e7a4e260d4 /src
parent57a055c82fad435551c2819f01b81b7160f520e6 (diff)
defined APIENTRY if undefined
Diffstat (limited to 'src')
-rw-r--r--src/glut/glx/glutint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 7849a01acd5..71dceeceeee 100644
--- a/src/glut/glx/glutint.h
+++ b/src/glut/glx/glutint.h
@@ -30,7 +30,9 @@
#ifndef _WIN32
/* added by BrianP: */
+#ifndef APIENTRY
#define APIENTRY GLAPIENTRY
+#endif
#define __cdecl GLAPIENTRY
#define CDECL GLAPIENTRY
#endif