aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/PreConfig.hpp
diff options
context:
space:
mode:
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