summaryrefslogtreecommitdiff
path: root/src/glut
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut')
-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 7849a01acd..71dceeceee 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