summaryrefslogtreecommitdiff
path: root/include/GL/glut.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2005-02-08 05:46:53 +0000
committerAdam Jackson <ajax@freedesktop.org>2005-02-08 05:46:53 +0000
commitd084982240bafba0169c4a6cacf02d45d6cfd8c1 (patch)
tree691f990d4581a5367599bc44718d12303b27da87 /include/GL/glut.h
parent4885a9eb207655ac23b64274034e1d51d2c8e6ce (diff)
Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.
Diffstat (limited to 'include/GL/glut.h')
-rw-r--r--include/GL/glut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h
index c1b78aa4e5..2e5be8a77c 100644
--- a/include/GL/glut.h
+++ b/include/GL/glut.h
@@ -193,7 +193,7 @@ WGLAPI int GLAPIENTRY SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR *);
#else /* _WIN32 not defined */
/* Define GLUTAPIENTRY and GLUTCALLBACK to nothing if we aren't on Win32. */
-# define GLUTAPIENTRY
+# define GLUTAPIENTRY GLAPI
# define GLUTAPIENTRYV
# define GLUT_APIENTRY_DEFINED
# define GLUTCALLBACK