Don't use windows linking attributes in MinGW

Original commit message from CVS:
Don't use windows linking attributes in MinGW
This commit is contained in:
Michael Smith 2005-09-13 14:49:23 +00:00
parent ab38914069
commit 46ad549037
2 changed files with 6 additions and 1 deletions

View file

@ -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),

View file

@ -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