when mingw is mingw64, it appears that we need to use __declspec() and not __attribute__((visibility)) for export control

This commit is contained in:
Paul Davis 2014-03-01 15:16:39 -05:00
parent 597db6421a
commit 19395ac258
9 changed files with 9 additions and 9 deletions

View file

@ -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