mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
Also use default visibility for plugins symbol
This commit is contained in:
parent
d143af2c77
commit
eafaefe9da
1 changed files with 2 additions and 1 deletions
|
@ -146,10 +146,11 @@
|
|||
# define GST_EXPORT __declspec(dllimport) extern
|
||||
# endif
|
||||
#else
|
||||
# define GST_PLUGIN_EXPORT
|
||||
# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
|
||||
# define GST_PLUGIN_EXPORT __attribute__ ((visibility ("default")))
|
||||
# define GST_EXPORT extern __attribute__ ((visibility ("default")))
|
||||
# else
|
||||
# define GST_PLUGIN_EXPORT
|
||||
# define GST_EXPORT extern
|
||||
# endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue