diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-01 15:16:39 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-01 15:16:39 -0500 |
commit | 19395ac258bd48595790bcb6fa8b206c43a64796 (patch) | |
tree | 8184034546dfb9314e31a9b3313858fb9489af9a /libs/surfaces/control_protocol/control_protocol | |
parent | 597db6421ada94023d6087c9eafcdfc5d7610502 (diff) |
when mingw is mingw64, it appears that we need to use __declspec() and not __attribute__((visibility)) for export control
Diffstat (limited to 'libs/surfaces/control_protocol/control_protocol')
-rw-r--r-- | libs/surfaces/control_protocol/control_protocol/visibility.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/control_protocol/control_protocol/visibility.h b/libs/surfaces/control_protocol/control_protocol/visibility.h index 62e3b02913..a8eb746205 100644 --- a/libs/surfaces/control_protocol/control_protocol/visibility.h +++ b/libs/surfaces/control_protocol/control_protocol/visibility.h @@ -20,7 +20,7 @@ #ifndef __libcontrolcp_visibility_h__ #define __libcontrolcp_visibility_h__ -#if defined(COMPILER_MSVC) +#if defined(COMPILER_MSVC) || defined(__MINGW64__) #define LIBCONTROLCP_DLL_IMPORT __declspec(dllimport) #define LIBCONTROLCP_DLL_EXPORT __declspec(dllexport) #define LIBCONTROLCP_DLL_LOCAL |