From 19395ac258bd48595790bcb6fa8b206c43a64796 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 1 Mar 2014 15:16:39 -0500 Subject: when mingw is mingw64, it appears that we need to use __declspec() and not __attribute__((visibility)) for export control --- libs/timecode/timecode/visibility.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/timecode') diff --git a/libs/timecode/timecode/visibility.h b/libs/timecode/timecode/visibility.h index f1c8833f26..b7a62b6a49 100644 --- a/libs/timecode/timecode/visibility.h +++ b/libs/timecode/timecode/visibility.h @@ -20,7 +20,7 @@ #ifndef __libtimecode_visibility_h__ #define __libtimecode_visibility_h__ -#if defined(COMPILER_MSVC) +#if defined(COMPILER_MSVC) || defined(__MINGW64__) #define LIBTIMECODE_DLL_IMPORT __declspec(dllimport) #define LIBTIMECODE_DLL_EXPORT __declspec(dllexport) #define LIBTIMECODE_DLL_LOCAL -- cgit v1.2.3