diff options
author | crupest <crupest@outlook.com> | 2022-01-28 22:32:22 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-28 22:32:22 +0800 |
commit | 27ef6b29fe9ea6931dd9aef585e8b9467599b5f1 (patch) | |
tree | b6c6f2162a9561e1f86568717649913999cbb3e7 /include/cru/win/gui/Base.hpp | |
parent | af43f72adcb6738eebaad505389084c17411a694 (diff) | |
download | cru-27ef6b29fe9ea6931dd9aef585e8b9467599b5f1.tar.gz cru-27ef6b29fe9ea6931dd9aef585e8b9467599b5f1.tar.bz2 cru-27ef6b29fe9ea6931dd9aef585e8b9467599b5f1.zip |
...
Diffstat (limited to 'include/cru/win/gui/Base.hpp')
-rw-r--r-- | include/cru/win/gui/Base.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/cru/win/gui/Base.hpp b/include/cru/win/gui/Base.hpp index 00782663..e6807710 100644 --- a/include/cru/win/gui/Base.hpp +++ b/include/cru/win/gui/Base.hpp @@ -3,6 +3,16 @@ #include "cru/common/Base.hpp" +#ifdef CRU_PLATFORM_WINDOWS +#ifdef CRU_WIN_GUI_EXPORT_API +#define CRU_WIN_GUI_API __declspec(dllexport) +#else +#define CRU_WIN_GUI_API __declspec(dllimport) +#endif +#else +#define CRU_WIN_GUI_API +#endif + namespace cru::platform::gui::win { class GodWindow; class TimerManager; |