From: José Fonseca Date: Thu, 12 Feb 2009 15:49:55 +0000 (+0000) Subject: glut: Fix broken font symbols when gcc visibility attributes used. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ef5162103168bff2d68670a715d5afdee82e9e9;p=mesa.git glut: Fix broken font symbols when gcc visibility attributes used. --- 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