summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-05-22 16:26:52 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-05-22 16:26:52 +0000
commit4951c0e0a815114f92aca8d3a03a0c2ae1227438 (patch)
tree4678c191bb56654f9b60e7378970d0e7a4e260d4
parent57a055c82fad435551c2819f01b81b7160f520e6 (diff)
defined APIENTRY if undefined
-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