diff options
author | crupest <crupest@outlook.com> | 2022-01-28 22:33:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-28 22:33:29 +0800 |
commit | fb992c554110ddd28c18b2cbed79eee8e10cd4a9 (patch) | |
tree | c6636b723326159d791cd610e1429cae0fe5f6e4 /include/cru/win/graphics/direct/Base.hpp | |
parent | 8d4d66d1bc4d5237c7dbac3013c7ecc6d5a36a35 (diff) | |
parent | 27ef6b29fe9ea6931dd9aef585e8b9467599b5f1 (diff) | |
download | cru-fb992c554110ddd28c18b2cbed79eee8e10cd4a9.tar.gz cru-fb992c554110ddd28c18b2cbed79eee8e10cd4a9.tar.bz2 cru-fb992c554110ddd28c18b2cbed79eee8e10cd4a9.zip |
Merge branch 'main' of https://github.com/crupest/cru
Diffstat (limited to 'include/cru/win/graphics/direct/Base.hpp')
-rw-r--r-- | include/cru/win/graphics/direct/Base.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cru/win/graphics/direct/Base.hpp b/include/cru/win/graphics/direct/Base.hpp new file mode 100644 index 00000000..b25a1c14 --- /dev/null +++ b/include/cru/win/graphics/direct/Base.hpp @@ -0,0 +1,12 @@ +#pragma once +#include "../../WinPreConfig.hpp" + +#ifdef CRU_PLATFORM_WINDOWS +#ifdef CRU_WIN_GRAPHICS_DIRECT_EXPORT_API +#define CRU_WIN_GRAPHICS_DIRECT_API __declspec(dllexport) +#else +#define CRU_WIN_GRAPHICS_DIRECT_API __declspec(dllimport) +#endif +#else +#define CRU_WIN_GRAPHICS_DIRECT_API +#endif |