libstatic_export.h 915 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef LIBSTATIC_EXPORT_H
  2. #define LIBSTATIC_EXPORT_H
  3. #ifdef LIBSTATIC_STATIC_DEFINE
  4. # define LIBSTATIC_EXPORT
  5. # define LIBSTATIC_NO_EXPORT
  6. #else
  7. # ifndef LIBSTATIC_EXPORT
  8. # ifdef libstatic_EXPORTS
  9. /* We are building this library */
  10. # define LIBSTATIC_EXPORT
  11. # else
  12. /* We are using this library */
  13. # define LIBSTATIC_EXPORT
  14. # endif
  15. # endif
  16. # ifndef LIBSTATIC_NO_EXPORT
  17. # define LIBSTATIC_NO_EXPORT
  18. # endif
  19. #endif
  20. #ifndef LIBSTATIC_DEPRECATED
  21. # define LIBSTATIC_DEPRECATED __attribute__ ((__deprecated__))
  22. #endif
  23. #ifndef LIBSTATIC_DEPRECATED_EXPORT
  24. # define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
  25. #endif
  26. #ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
  27. # define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
  28. #endif
  29. #define DEFINE_NO_DEPRECATED 0
  30. #if DEFINE_NO_DEPRECATED
  31. # define LIBSTATIC_NO_DEPRECATED
  32. #endif
  33. #endif