12345678910111213141516171819202122232425 |
- #pragma once
-
- #include <ov_common_defines.h>
-
- #if defined System_Shared
- # if defined TARGET_OS_Windows
- # define System_API_Export __declspec(dllexport)
- # define System_API_Import __declspec(dllimport)
- # elif defined TARGET_OS_Linux || defined TARGET_OS_MacOS
- # define System_API_Export __attribute__((visibility("default")))
- # define System_API_Import __attribute__((visibility("default")))
- # else
- # define System_API_Export
- # define System_API_Import
- # endif
- #else
- # define System_API_Export
- # define System_API_Import
- #endif
-
- #if defined System_Exports
- # define System_API System_API_Export
- #else
- # define System_API System_API_Import
- #endif
|