External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
911B

  1. --- fluidsynth-static-1.1.11.orig/include/fluidsynth.cmake
  2. +++ fluidsynth-static-1.1.11/include/fluidsynth.cmake
  3. @@ -29,28 +29,8 @@ extern "C" {
  4. #cmakedefine01 BUILD_SHARED_LIBS
  5. -#if (BUILD_SHARED_LIBS == 0)
  6. - #define FLUIDSYNTH_API // building static lib? no visibility control then
  7. -#elif defined(WIN32)
  8. - #if defined(FLUIDSYNTH_NOT_A_DLL)
  9. - #define FLUIDSYNTH_API
  10. - #elif defined(FLUIDSYNTH_DLL_EXPORTS)
  11. - #define FLUIDSYNTH_API __declspec(dllexport)
  12. - #else
  13. - #define FLUIDSYNTH_API __declspec(dllimport)
  14. - #endif
  15. -
  16. -#elif defined(MACOS9)
  17. -#define FLUIDSYNTH_API __declspec(export)
  18. -
  19. -#elif defined(__GNUC__)
  20. -#define FLUIDSYNTH_API __attribute__ ((visibility ("default")))
  21. -
  22. -#else
  23. #define FLUIDSYNTH_API
  24. -#endif
  25. -
  26. #if defined(__GNUC__) || defined(__clang__)
  27. # define FLUID_DEPRECATED __attribute__((deprecated))
  28. #elif defined(_MSC_VER) && _MSC_VER > 1200