[pzstd] Fixes for Windows build
* Add `Portability.h` to fix min/max issues. * Fix conversion warnings * Assert that windowLog <= 23, which is currently always the case. This could be loosened, but we aren't looking to add new functionality. Fixes on top of PR #3375 by @eli-schwartz, which added Windows CI for contrib & programs.
This commit is contained in:
committed by
Nick Terrell
parent
67cd24b25b
commit
e9797b5dc5
@@ -14,7 +14,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "utils/Likely.h"
|
||||
#include "utils/Portability.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
|
||||
Reference in New Issue
Block a user