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.

25 lines
684B

  1. diff --git a/include/sord/sord.h b/include/sord/sord.h
  2. index 93f9c07..3e37b0d 100644
  3. --- a/include/sord/sord.h
  4. +++ b/include/sord/sord.h
  5. @@ -14,18 +14,7 @@
  6. #include <stddef.h>
  7. #include <stdint.h>
  8. -// SORD_API must be used to decorate things in the public API
  9. -#ifndef SORD_API
  10. -# if defined(_WIN32) && !defined(SORD_STATIC) && defined(SORD_INTERNAL)
  11. -# define SORD_API __declspec(dllexport)
  12. -# elif defined(_WIN32) && !defined(SORD_STATIC)
  13. -# define SORD_API __declspec(dllimport)
  14. -# elif defined(__GNUC__)
  15. -# define SORD_API __attribute__((visibility("default")))
  16. -# else
  17. -# define SORD_API
  18. -# endif
  19. -#endif
  20. +#define SORD_API
  21. #ifdef __cplusplus
  22. extern "C" {