summaryrefslogtreecommitdiff
path: root/src/glut/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx')
-rw-r--r--src/glut/glx/glutint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 752e9b356e..df92f191a3 100644
--- a/src/glut/glx/glutint.h
+++ b/src/glut/glx/glutint.h
@@ -22,10 +22,11 @@
#endif
/* added by BrianP: */
+#ifndef _WIN32
#define APIENTRY GLAPIENTRY
#define __cdecl GLAPIENTRY
#define CDECL GLAPIENTRY
-
+#endif
#define GLUT_BUILDING_LIB /* Building the GLUT library itself. */