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.

58 lines
1.7KB

  1. diff --git a/include/FLAC/export.h b/include/FLAC/export.h
  2. index cde72b7..3a60cf0 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 FLAC_API
  13. -#else
  14. -#ifdef FLAC_API_EXPORTS
  15. -#define FLAC_API __declspec(dllexport)
  16. -#else
  17. -#define FLAC_API __declspec(dllimport)
  18. -#endif
  19. -#endif
  20. -
  21. -#elif defined(FLAC__USE_VISIBILITY_ATTR)
  22. -#define FLAC_API __attribute__ ((visibility ("default")))
  23. -
  24. -#else
  25. #define FLAC_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 19370fa..45b4752 100644
  33. --- a/include/FLAC++/export.h
  34. +++ b/include/FLAC++/export.h
  35. @@ -72,21 +72,7 @@
  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. -#if defined(FLAC__NO_DLL) && !(defined(DLL_EXPORT))
  41. #define FLACPP_API
  42. -#else
  43. -#ifdef FLACPP_API_EXPORTS
  44. -#define FLACPP_API __declspec(dllexport)
  45. -#else
  46. -#define FLACPP_API __declspec(dllimport)
  47. -#endif
  48. -#endif
  49. -#elif defined(FLAC__USE_VISIBILITY_ATTR)
  50. -#define FLACPP_API __attribute__ ((visibility ("default")))
  51. -#else
  52. -#define FLACPP_API
  53. -#endif
  54. /** These \#defines will mirror the libtool-based library version number, see
  55. * http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning