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/audiographer | |
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/audiographer')
-rw-r--r-- | libs/audiographer/audiographer/visibility.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/audiographer/audiographer/visibility.h b/libs/audiographer/audiographer/visibility.h index 31a7511f8b..492269b702 100644 --- a/libs/audiographer/audiographer/visibility.h +++ b/libs/audiographer/audiographer/visibility.h @@ -20,7 +20,7 @@ #ifndef __libaudiographer_visibility_h__ #define __libaudiographer_visibility_h__ -#if defined(COMPILER_MSVC) +#if defined(COMPILER_MSVC) || defined(__MINGW64__) #define LIBAUDIOGRAPHER_DLL_IMPORT __declspec(dllimport) #define LIBAUDIOGRAPHER_DLL_EXPORT __declspec(dllexport) #define LIBAUDIOGRAPHER_DLL_LOCAL |