export.h 451 B

123456789101112131415161718192021
  1. #pragma once
  2. #ifndef REPROC_EXPORT
  3. #ifdef _WIN32
  4. #ifdef REPROC_SHARED
  5. #ifdef REPROC_BUILDING
  6. #define REPROC_EXPORT __declspec(dllexport)
  7. #else
  8. #define REPROC_EXPORT __declspec(dllimport)
  9. #endif
  10. #else
  11. #define REPROC_EXPORT
  12. #endif
  13. #else
  14. #ifdef REPROC_BUILDING
  15. #define REPROC_EXPORT __attribute__((visibility("default")))
  16. #else
  17. #define REPROC_EXPORT
  18. #endif
  19. #endif
  20. #endif