summaryrefslogtreecommitdiff
path: root/libs/timecode
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-03-01 15:16:39 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-03-01 15:16:39 -0500
commit19395ac258bd48595790bcb6fa8b206c43a64796 (patch)
tree8184034546dfb9314e31a9b3313858fb9489af9a /libs/timecode
parent597db6421ada94023d6087c9eafcdfc5d7610502 (diff)
when mingw is mingw64, it appears that we need to use __declspec() and not __attribute__((visibility)) for export control
Diffstat (limited to 'libs/timecode')
-rw-r--r--libs/timecode/timecode/visibility.h2
1 files changed, 1 insertions, 1 deletions
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