Fix DLL function import clause for gnu platform

This commit is contained in:
Olli Parviainen 2024-03-02 19:11:43 +02:00
parent 6872a2b6d0
commit f921e5b586

View File

@ -52,8 +52,8 @@
// GCC declaration for exporting functions // GCC declaration for exporting functions
#define SOUNDTOUCHDLL_API extern "C" __attribute__((__visibility__("default"))) #define SOUNDTOUCHDLL_API extern "C" __attribute__((__visibility__("default")))
#else #else
// GCC doesn't require DLL imports // import function
#define SOUNDTOUCHDLL_API #define SOUNDTOUCHDLL_API extern "C"
#endif #endif
// Linux-replacements for Windows declarations: // Linux-replacements for Windows declarations: