From bb258b7bf62c5021d2ccde38107efcfdfc52ddd0 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 15 Oct 2021 16:29:38 +0200 Subject: zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above --- zenserver/compute/apply.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'zenserver/compute/apply.cpp') diff --git a/zenserver/compute/apply.cpp b/zenserver/compute/apply.cpp index a522aa35b..053c262c2 100644 --- a/zenserver/compute/apply.cpp +++ b/zenserver/compute/apply.cpp @@ -16,18 +16,16 @@ #include #include -// clang-format off #if ZEN_PLATFORM_WINDOWS -# include +ZEN_THIRD_PARTY_INCLUDES_START # include # include # include # include # pragma comment(lib, "UserEnv.lib") # include -# include +ZEN_THIRD_PARTY_INCLUDES_END #endif -// clang-format on #include #include -- cgit v1.2.3