diff options
| author | Martin Ridgers <[email protected]> | 2021-10-12 14:16:39 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-12 14:17:13 +0200 |
| commit | 1fc5d199509422e303935a39f85a2c7f9149d9a7 (patch) | |
| tree | 6037383bacd06bb48a1847b1e6bf7ee504f210de /zenstore/filecas.cpp | |
| parent | Corrected incorrect casing of include statements (diff) | |
| download | zen-1fc5d199509422e303935a39f85a2c7f9149d9a7.tar.xz zen-1fc5d199509422e303935a39f85a2c7f9149d9a7.zip | |
Only include zencore/windows.h on Windows
Diffstat (limited to 'zenstore/filecas.cpp')
| -rw-r--r-- | zenstore/filecas.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp index 3e76de2f9..b63cd4ba7 100644 --- a/zenstore/filecas.cpp +++ b/zenstore/filecas.cpp @@ -23,12 +23,14 @@ #include <unordered_map> // clang-format off -#include <zencore/prewindows.h> +#if ZEN_PLATFORM_WINDOWS +# include <zencore/prewindows.h> -struct IUnknown; // Workaround for "combaseapi.h(229): error C2187: syntax error: 'identifier' was unexpected here" when using /permissive- -#include <atlfile.h> + struct IUnknown; // Workaround for "combaseapi.h(229): error C2187: syntax error: 'identifier' was unexpected here" when using /permissive- +# include <atlfile.h> -#include <zencore/postwindows.h> +# include <zencore/postwindows.h> +#endif // clang-format on namespace zen { |