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.

26 lines
705B

  1. diff --git a/include/opus_defines.h b/include/opus_defines.h
  2. index cd8f4dd..48f59da 100644
  3. --- a/include/opus_defines.h
  4. +++ b/include/opus_defines.h
  5. @@ -63,19 +63,7 @@ extern "C" {
  6. /** @cond OPUS_INTERNAL_DOC */
  7. /**Export control for opus functions */
  8. -#ifndef OPUS_EXPORT
  9. -# if defined(_WIN32)
  10. -# if defined(OPUS_BUILD) && defined(DLL_EXPORT)
  11. -# define OPUS_EXPORT __declspec(dllexport)
  12. -# else
  13. -# define OPUS_EXPORT
  14. -# endif
  15. -# elif defined(__GNUC__) && defined(OPUS_BUILD)
  16. -# define OPUS_EXPORT __attribute__ ((visibility ("default")))
  17. -# else
  18. -# define OPUS_EXPORT
  19. -# endif
  20. -#endif
  21. +#define OPUS_EXPORT
  22. # if !defined(OPUS_GNUC_PREREQ)
  23. # if defined(__GNUC__)&&defined(__GNUC_MINOR__)