GNOME Bugzilla – Bug 316157
MinGW compilation: Plugin exports
Last modified: 2005-10-03 11:26:28 UTC
In gst/gstconfig.h GST_PLUGIN_EXPORT and GST_EXPORT are defined to __declspec(dllexport) extern or __declspec(dllimport) extern This is probably needed only for MSVC and it does not work with GCC. For MinGW/GCC, the same definitions as for other OSs should be used, ie. #define GST_PLUGIN_EXPORT #define GST_EXPORT extern
Ok, changed the ifdef to require WIN32 && !__MINGW32__; committed.