mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-09 09:11:02 +00:00
Define FLUIDSYNTH_API on OS/2
Previously, CMake on OS/2 exported all the symbols unconditionally. Now it exports necessary symbols only. As a result, it's necessary to define FLUIDSYNTH_API correctly. Addresses #678
This commit is contained in:
parent
1cc492fdb5
commit
83394ab286
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ extern "C" {
|
|||
#elif defined(MACOS9)
|
||||
#define FLUIDSYNTH_API __declspec(export)
|
||||
|
||||
#elif defined(__OS2__)
|
||||
#define FLUIDSYNTH_API __declspec(dllexport)
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
#define FLUIDSYNTH_API __attribute__ ((visibility ("default")))
|
||||
|
||||
|
|
Loading…
Reference in a new issue