summaryrefslogtreecommitdiff
path: root/gst/gstconfig.h.in
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2005-09-13 14:49:23 +0000
committerMichael Smith <msmith@xiph.org>2005-09-13 14:49:23 +0000
commit46ad54903788063a2bcaf8790f86a6422580e4cc (patch)
treee4676b9aa7b03dc04b82da6a0ea1dadbf576ec25 /gst/gstconfig.h.in
parentab389140696210a00755f1f0976bf16212a5f35b (diff)
Don't use windows linking attributes in MinGW
Original commit message from CVS: Don't use windows linking attributes in MinGW
Diffstat (limited to 'gst/gstconfig.h.in')
-rw-r--r--gst/gstconfig.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in
index 519d7be73..0647d5407 100644
--- a/gst/gstconfig.h.in
+++ b/gst/gstconfig.h.in
@@ -136,7 +136,7 @@
* 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