compile fix
[ardour.git] / libs / ardour / ardour / libardour_visibility.h
index a41afca14d36cf81b2c6a66371a4d9d86bbba67c..dde3f1d11bedc6e1c3a6edf522205d34e3e92f03 100644 (file)
 #ifndef __libardour_libardour_visibility_h__
 #define __libardour_libardour_visibility_h__
 
-/* _WIN32 is defined by most compilers targetting Windows, but within the
- * ardour source tree, we also define COMPILER_MSVC or COMPILER_MINGW depending
- * on how a Windows build is built.
- */
-
-#if defined _WIN32 || defined __CYGWIN__ || defined(COMPILER_MSVC) || defined(COMPILER_MINGW)
+#if defined(COMPILER_MSVC)
   #define LIBARDOUR_DLL_IMPORT __declspec(dllimport)
   #define LIBARDOUR_DLL_EXPORT __declspec(dllexport)
   #define LIBARDOUR_DLL_LOCAL
@@ -43,7 +38,7 @@
     #define LIBARDOUR_API LIBARDOUR_DLL_EXPORT
   #else
     #define LIBARDOUR_API LIBARDOUR_DLL_IMPORT
-  #endif 
+  #endif
   #define LIBARDOUR_LOCAL LIBARDOUR_DLL_LOCAL
 #endif