Don't use windows linking attributes in MinGW
authorMichael Smith <msmith@xiph.org>
Tue, 13 Sep 2005 14:49:23 +0000 (14:49 +0000)
committerMichael Smith <msmith@xiph.org>
Tue, 13 Sep 2005 14:49:23 +0000 (14:49 +0000)
Original commit message from CVS:
Don't use windows linking attributes in MinGW

ChangeLog
gst/gstconfig.h.in

index 4f50475..d19fa73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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),
index 519d7be..0647d54 100644 (file)
  * 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