mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
gstconfig.h: Don't use extern with dllexport
GCC emits an error for this with -Werror: plugin.c:22:1: error: 'gst_plugin_desc' initialized and declared 'extern' [-Werror] This matches how glib does symbol exporting. https://bugzilla.gnome.org/show_bug.cgi?id=767463
This commit is contained in:
parent
48088867db
commit
54fa564e01
1 changed files with 2 additions and 2 deletions
|
@ -140,9 +140,9 @@
|
|||
* for the symbol inside a DLL
|
||||
*/
|
||||
#if defined(_WIN32) && !defined(GST_STATIC_COMPILATION)
|
||||
# define GST_PLUGIN_EXPORT __declspec(dllexport) extern
|
||||
# define GST_PLUGIN_EXPORT __declspec(dllexport)
|
||||
# ifdef GST_EXPORTS
|
||||
# define GST_EXPORT __declspec(dllexport) extern
|
||||
# define GST_EXPORT __declspec(dllexport)
|
||||
# else
|
||||
# define GST_EXPORT __declspec(dllimport) extern
|
||||
# endif
|
||||
|
|
Loading…
Reference in a new issue