aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/PreConfig.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-15 18:42:32 +0800
committercrupest <crupest@outlook.com>2022-01-15 18:42:32 +0800
commitb6757b263ed304aed22eb2a472805f87bfb67f3a (patch)
treec1e54a9348d4b3d4af3c10629876e380778d2e72 /include/cru/common/PreConfig.hpp
parent76b631144e008006efb3894c16e6fd04608d0b68 (diff)
downloadcru-b6757b263ed304aed22eb2a472805f87bfb67f3a.tar.gz
cru-b6757b263ed304aed22eb2a472805f87bfb67f3a.tar.bz2
cru-b6757b263ed304aed22eb2a472805f87bfb67f3a.zip
...
Diffstat (limited to 'include/cru/common/PreConfig.hpp')
-rw-r--r--include/cru/common/PreConfig.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/common/PreConfig.hpp b/include/cru/common/PreConfig.hpp
index 6011dc54..ba0f5bd8 100644
--- a/include/cru/common/PreConfig.hpp
+++ b/include/cru/common/PreConfig.hpp
@@ -10,3 +10,7 @@
#ifdef CRU_PLATFORM_WINDOWS
#define _CRT_SECURE_NO_WARNINGS
#endif
+
+#if defined(CRU_PLATFORM_OSX) || defined(CRU_PLATFORM_LINUX)
+#define CRU_PLATFORM_UNIX
+#endif