summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-02-12 15:49:55 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-02-12 15:50:33 +0000
commit5ef5162103168bff2d68670a715d5afdee82e9e9 (patch)
tree444ee0dcbfead78d7d8ff80013cd291e1cf59db2 /include
parent2c8c09edda645f04c8bd34f8b53031cbb951cdfe (diff)
glut: Fix broken font symbols when gcc visibility attributes used.
Diffstat (limited to 'include')
-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 c305b9ab99..9fdb9cfdfa 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