Mesa (gallium-mesa-7.4): glut: Fix broken font symbols when gcc visibility attributes used.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon May 25 14:57:16 UTC 2009
Module: Mesa
Branch: gallium-mesa-7.4
Commit: f798e928861022b545fc37516439bfedbdb64ae8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f798e928861022b545fc37516439bfedbdb64ae8
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 022378f..7d64e04 100644
--- a/include/GL/glut.h
+++ b/include/GL/glut.h
@@ -122,7 +122,7 @@ extern _CRTIMP void __cdecl exit(int);
# 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