Cross-Platform build scripts for audio plugins
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.

63 lines
1.7KB

  1. diff --git a/include/FLAC++/export.h b/include/FLAC++/export.h
  2. index e672e8f..e5fe1c0 100644
  3. --- a/include/FLAC++/export.h
  4. +++ b/include/FLAC++/export.h
  5. @@ -61,26 +61,8 @@
  6. * build static, shared or **both**. Therefore, DLL_EXPORT, which is set
  7. * by libtool, must override FLAC__NO_DLL on building shared components
  8. */
  9. -#if defined(_WIN32)
  10. -
  11. -#if defined(FLAC__NO_DLL) && !(defined(DLL_EXPORT))
  12. -#define FLACPP_API
  13. -#else
  14. -#ifdef FLACPP_API_EXPORTS
  15. -#define FLACPP_API __declspec(dllexport)
  16. -#else
  17. -#define FLACPP_API __declspec(dllimport)
  18. -#endif
  19. -#endif
  20. -
  21. -#elif defined(FLAC__USE_VISIBILITY_ATTR)
  22. -#define FLACPP_API __attribute__ ((visibility ("default")))
  23. -
  24. -#else
  25. #define FLACPP_API
  26. -#endif
  27. -
  28. /* These \#defines will mirror the libtool-based library version number, see
  29. * http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning
  30. */
  31. diff --git a/include/FLAC/export.h b/include/FLAC/export.h
  32. index cde72b7..3a60cf0 100644
  33. --- a/include/FLAC/export.h
  34. +++ b/include/FLAC/export.h
  35. @@ -61,26 +61,8 @@
  36. * build static, shared or **both**. Therefore, DLL_EXPORT, which is set
  37. * by libtool, must override FLAC__NO_DLL on building shared components
  38. */
  39. -#if defined(_WIN32)
  40. -
  41. -#if defined(FLAC__NO_DLL) && !(defined(DLL_EXPORT))
  42. -#define FLAC_API
  43. -#else
  44. -#ifdef FLAC_API_EXPORTS
  45. -#define FLAC_API __declspec(dllexport)
  46. -#else
  47. -#define FLAC_API __declspec(dllimport)
  48. -#endif
  49. -#endif
  50. -
  51. -#elif defined(FLAC__USE_VISIBILITY_ATTR)
  52. -#define FLAC_API __attribute__ ((visibility ("default")))
  53. -
  54. -#else
  55. #define FLAC_API
  56. -#endif
  57. -
  58. /** These \#defines will mirror the libtool-based library version number, see
  59. * http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning
  60. */