Mesa (master): glut: Fix broken font symbols when gcc visibility attributes used.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Thu Feb 12 15:50:41 UTC 2009
Module: Mesa
Branch: master
Commit: 5ef5162103168bff2d68670a715d5afdee82e9e9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ef5162103168bff2d68670a715d5afdee82e9e9
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Feb 12 15:49:55 2009 +0000
glut: Fix broken font symbols when gcc visibility attributes used.
---
include/GL/glut.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/GL/glut.h b/include/GL/glut.h
index c305b9a..9fdb9cf 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
More information about the mesa-commit
mailing list