From 5ef5162103168bff2d68670a715d5afdee82e9e9 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 12 Feb 2009 15:49:55 +0000 Subject: glut: Fix broken font symbols when gcc visibility attributes used. --- include/GL/glut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3