glut: Fix broken font symbols when gcc visibility attributes used.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 12 Feb 2009 15:49:55 +0000 (15:49 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 12 Feb 2009 15:50:33 +0000 (15:50 +0000)
include/GL/glut.h

index c305b9ab99154cbe87fa30293c6118ad10c3ee51..9fdb9cfdfa976adb3fee0db777fa2d5166c852bd 100644 (file)
@@ -108,7 +108,7 @@ extern "C" {
 #  define GLUTAPIENTRY
 #  define GLUTAPIENTRYV
 #  define GLUTCALLBACK
-#  define GLUTAPI __attribute__((visibility("default")))
+#  define GLUTAPI extern __attribute__((visibility("default")))
 
 #else