From f921e5b5865617f1dd109e6587a6bf2ca1e14959 Mon Sep 17 00:00:00 2001 From: Olli Parviainen Date: Sat, 2 Mar 2024 19:11:43 +0200 Subject: [PATCH] Fix DLL function import clause for gnu platform --- source/SoundTouchDLL/SoundTouchDLL.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/SoundTouchDLL/SoundTouchDLL.h b/source/SoundTouchDLL/SoundTouchDLL.h index aca1aa1..47cc132 100644 --- a/source/SoundTouchDLL/SoundTouchDLL.h +++ b/source/SoundTouchDLL/SoundTouchDLL.h @@ -52,8 +52,8 @@ // GCC declaration for exporting functions #define SOUNDTOUCHDLL_API extern "C" __attribute__((__visibility__("default"))) #else - // GCC doesn't require DLL imports - #define SOUNDTOUCHDLL_API + // import function + #define SOUNDTOUCHDLL_API extern "C" #endif // Linux-replacements for Windows declarations: