diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-05-30 22:36:02 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-05-30 22:42:29 +0400 |
commit | 9ce27c564efe9a8074ab6e285051790807a74b9e (patch) | |
tree | 7300f6ba95cef05fdd38a8c34645ece28564a499 /include | |
parent | d8f1c7093ca0b62e12eee02043507fd458d098d6 (diff) |
Fix for building mingw32 apps.
Diffstat (limited to 'include')
-rw-r--r-- | include/opus_defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opus_defines.h b/include/opus_defines.h index 94983245..2aa574e1 100644 --- a/include/opus_defines.h +++ b/include/opus_defines.h @@ -65,7 +65,7 @@ extern "C" { #if defined(__GNUC__) && defined(OPUS_BUILD) # define OPUS_EXPORT __attribute__ ((visibility ("default"))) -#elif defined(WIN32) +#elif defined(WIN32) && !defined(__MINGW32__) # ifdef OPUS_BUILD # define OPUS_EXPORT __declspec(dllexport) # else |