Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/opus_defines.h2
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