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.

defines.h 650B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include <ov_common_defines.h>
  3. #if defined System_Shared
  4. # if defined TARGET_OS_Windows
  5. # define System_API_Export __declspec(dllexport)
  6. # define System_API_Import __declspec(dllimport)
  7. # elif defined TARGET_OS_Linux || defined TARGET_OS_MacOS
  8. # define System_API_Export __attribute__((visibility("default")))
  9. # define System_API_Import __attribute__((visibility("default")))
  10. # else
  11. # define System_API_Export
  12. # define System_API_Import
  13. # endif
  14. #else
  15. # define System_API_Export
  16. # define System_API_Import
  17. #endif
  18. #if defined System_Exports
  19. # define System_API System_API_Export
  20. #else
  21. # define System_API System_API_Import
  22. #endif