diff options
| author | Stefan Boberg <[email protected]> | 2021-10-15 16:29:38 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-15 16:29:38 +0200 |
| commit | bb258b7bf62c5021d2ccde38107efcfdfc52ddd0 (patch) | |
| tree | 6d641ac4ecc04373e19a9c80776a47ba5b590eaf /zenstore/filecas.cpp | |
| parent | zencore: added ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END (diff) | |
| download | zen-bb258b7bf62c5021d2ccde38107efcfdfc52ddd0.tar.xz zen-bb258b7bf62c5021d2ccde38107efcfdfc52ddd0.zip | |
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
Diffstat (limited to 'zenstore/filecas.cpp')
| -rw-r--r-- | zenstore/filecas.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp index f928f5c21..a37450cd8 100644 --- a/zenstore/filecas.cpp +++ b/zenstore/filecas.cpp @@ -22,14 +22,9 @@ #include <functional> #include <unordered_map> -// clang-format off -#include <zencore/prewindows.h> - -struct IUnknown; // Workaround for "combaseapi.h(229): error C2187: syntax error: 'identifier' was unexpected here" when using /permissive- +ZEN_THIRD_PARTY_INCLUDES_START #include <atlfile.h> - -#include <zencore/postwindows.h> -// clang-format on +ZEN_THIRD_PARTY_INCLUDES_END namespace zen { |