projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015a5a1
)
st/vega: Fix breakage from -fvisibility=hidden.
author
Chia-I Wu
<olvaffe@gmail.com>
Sun, 10 Jan 2010 16:03:21 +0000
(
00:03
+0800)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 11 Jan 2010 15:04:28 +0000
(10:04 -0500)
Mark VG and VGU functions as public.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
include/VG/vgplatform.h
patch
|
blob
|
history
diff --git
a/include/VG/vgplatform.h
b/include/VG/vgplatform.h
index e4f269f6582e8b5c40bf5e8d5be5c4ade04ffaf9..2c626a971e1727b3f0b3a6bf854932a288a24a40 100644
(file)
--- a/
include/VG/vgplatform.h
+++ b/
include/VG/vgplatform.h
@@
-38,6
+38,11
@@
extern "C" {
\r
#endif
\r
\r
+#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
\r
+# define VG_API_CALL __attribute__((visibility("default")))
\r
+# define VGU_API_CALL __attribute__((visibility("default")))
\r
+#endif
\r
+
\r
#ifndef VG_API_CALL
\r
#if defined(OPENVG_STATIC_LIBRARY)
\r
# define VG_API_CALL
\r