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
730B

  1. diff --git a/include/zix/attributes.h b/include/zix/attributes.h
  2. index 518e5fb..c3a5633 100644
  3. --- a/include/zix/attributes.h
  4. +++ b/include/zix/attributes.h
  5. @@ -19,18 +19,7 @@
  6. # define ZIX_END_DECLS ///< End public API definitions
  7. #endif
  8. -// ZIX_API must be used to decorate things in the public API
  9. -#ifndef ZIX_API
  10. -# if defined(_WIN32) && !defined(ZIX_STATIC) && defined(ZIX_INTERNAL)
  11. -# define ZIX_API __declspec(dllexport)
  12. -# elif defined(_WIN32) && !defined(ZIX_STATIC)
  13. -# define ZIX_API __declspec(dllimport)
  14. -# elif defined(__GNUC__)
  15. -# define ZIX_API __attribute__((visibility("default")))
  16. -# else
  17. -# define ZIX_API
  18. -# endif
  19. -#endif
  20. +#define ZIX_API
  21. // GCC function attributes
  22. #ifdef __GNUC__