summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glutint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/glutint.h')
-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 752e9b356e6..df92f191a39 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. */