projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eecc49
)
gstconfig.h: use default visibility for GST_EXPORT for gcc/clang too
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 10 May 2017 12:03:31 +0000
(13:03 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 15 May 2017 22:14:20 +0000
(23:14 +0100)
This will be needed later when we switch to using -fvisibility=hidden.
gst/gstconfig.h.in
patch
|
blob
|
history
diff --git
a/gst/gstconfig.h.in
b/gst/gstconfig.h.in
index
801fa40
..
5d7bc3a
100644
(file)
--- a/
gst/gstconfig.h.in
+++ b/
gst/gstconfig.h.in
@@
-147,7
+147,7
@@
# endif
#else
# define GST_PLUGIN_EXPORT
-# if (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
+# if
defined(__GNUC__) ||
(defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
# define GST_EXPORT extern __attribute__ ((visibility ("default")))
# else
# define GST_EXPORT extern