diff options
| author | Martin Ridgers <[email protected]> | 2021-12-02 08:45:47 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-12-02 11:36:19 +0100 |
| commit | 707f124e692662292b8fece2d8d0bd3030e3c0f9 (patch) | |
| tree | 98dfebac0cbed26534d8a9dd37a90505e09aee7a | |
| parent | Stubbed out base minimum of MS' PPL use for non-Windows platforms (diff) | |
| download | zen-707f124e692662292b8fece2d8d0bd3030e3c0f9.tar.xz zen-707f124e692662292b8fece2d8d0bd3030e3c0f9.zip | |
If-def wrapped some Windows-only includes
| -rw-r--r-- | zen/chunk/chunk.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zen/chunk/chunk.cpp b/zen/chunk/chunk.cpp index 3283a8b66..59ce9baa5 100644 --- a/zen/chunk/chunk.cpp +++ b/zen/chunk/chunk.cpp @@ -21,8 +21,10 @@ #include <lz4.h> #include <zstd.h> -#include <ppl.h> -#include <ppltasks.h> +#if ZEN_PLATFORM_WINDOWS +# include <ppl.h> +# include <ppltasks.h> +#endif // ZEN_PLATFORM_WINDOWS #include <cmath> #include <filesystem> |