diff options
author | crupest <crupest@outlook.com> | 2022-01-17 22:55:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-17 22:55:09 +0800 |
commit | 67dd012c0f49898f1734c46d3bb264f59d056a8e (patch) | |
tree | 780dc9c50868a8e7b89e68b463a60745fce72ae9 /include/cru/ui/Base.hpp | |
parent | 81f7d5faaaf79149070a901a4f299aee70c46379 (diff) | |
download | cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.gz cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.bz2 cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.zip |
...
Diffstat (limited to 'include/cru/ui/Base.hpp')
-rw-r--r-- | include/cru/ui/Base.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/cru/ui/Base.hpp b/include/cru/ui/Base.hpp index fbdfec77..a8176b0d 100644 --- a/include/cru/ui/Base.hpp +++ b/include/cru/ui/Base.hpp @@ -8,6 +8,16 @@ #include <optional> #include <vector> +#ifdef CRU_PLATFORM_WINDOWS +#ifdef CRU_UI_EXPORT_API +#define CRU_UI_API __declspec(dllexport) +#else +#define CRU_UI_API __declspec(dllimport) +#endif +#else +#define CRU_UI_API +#endif + namespace cru::ui { //-------------------- region: import -------------------- using cru::platform::Color; |