when mingw is mingw64, it appears that we need to use __declspec() and not __attribut...
[ardour.git] / libs / evoral / evoral / visibility.h
index 7f4a898875f7253e19fc7322cc31d90500415d44..32e410b3aba39a26641ca7f6ebc096691f3df060 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef __libevoral_visibility_h__
 #define __libevoral_visibility_h__
 
-#if defined(COMPILER_MSVC)
+#if defined(COMPILER_MSVC) || defined(__MINGW64__)
   #define LIBEVORAL_DLL_IMPORT __declspec(dllimport)
   #define LIBEVORAL_DLL_EXPORT __declspec(dllexport)
   #define LIBEVORAL_DLL_LOCAL