Original commit message from CVS:
Don't use windows linking attributes in MinGW
+2005-09-13 Michael Smith <msmith@fluendo.com>
+
+ * gst/gstconfig.h.in:
+ Don't Use windows linking attributes for MinGW. Fixes #316157
+
2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstutils.c: (set_state_async_thread_func),
* On Windows, this exports the plugin definition from the DLL.
* On other platforms, this gets defined as a no-op.
*/
-#ifdef WIN32
+#if defined(WIN32) && (!defined(__MINGW32__))
#define GST_PLUGIN_EXPORT __declspec(dllexport) extern
#ifdef GST_EXPORTS
#define GST_EXPORT __declspec(dllexport) extern