summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c305b9ab991..9fdb9cfdfa9 100644
--- a/include/GL/glut.h
+++ b/include/GL/glut.h
@@ -108,7 +108,7 @@ extern "C" {
# define GLUTAPIENTRY
# define GLUTAPIENTRYV
# define GLUTCALLBACK
-# define GLUTAPI __attribute__((visibility("default")))
+# define GLUTAPI extern __attribute__((visibility("default")))
#else