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.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/cru/common/PreConfig.hpp b/include/cru/common/PreConfig.hpp
new file mode 100644
index 00000000..4bccef1d
--- /dev/null
+++ b/include/cru/common/PreConfig.hpp
@@ -0,0 +1,8 @@
+#pragma once
+
+#ifdef _MSC_VER
+// disable the unnecessary warning about multi-inheritance
+#pragma warning(disable : 4250)
+#endif
+
+#define _CRT_SECURE_NO_WARNINGS