1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 12:02:28 +01:00

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
#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: