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.

25 lines
737B

  1. diff --git a/include/lilv/lilv.h b/include/lilv/lilv.h
  2. index 9f52925..e6b7a80 100644
  3. --- a/include/lilv/lilv.h
  4. +++ b/include/lilv/lilv.h
  5. @@ -14,18 +14,7 @@
  6. #include <stdint.h>
  7. #include <stdio.h>
  8. -// LILV_API must be used to decorate things in the public API
  9. -#ifndef LILV_API
  10. -# if defined(_WIN32) && !defined(LILV_STATIC) && defined(LILV_INTERNAL)
  11. -# define LILV_API __declspec(dllexport)
  12. -# elif defined(_WIN32) && !defined(LILV_STATIC)
  13. -# define LILV_API __declspec(dllimport)
  14. -# elif defined(__GNUC__)
  15. -# define LILV_API __attribute__((visibility("default")))
  16. -# else
  17. -# define LILV_API
  18. -# endif
  19. -#endif
  20. +#define LILV_API
  21. #if defined(__GNUC__) && \
  22. (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))