diff options
author | Mike J Innes <mike.j.innes@gmail.com> | 2019-10-09 21:34:24 +0100 |
---|---|---|
committer | Alon Zakai <azakai@google.com> | 2019-10-09 13:34:24 -0700 |
commit | d0f538ef24853e88d97f9f1aee3baa6414ac2b13 (patch) | |
tree | 7f332dce4deef76835b70d604d91207c4b1d6adb | |
parent | 8e78dbcad6bf35386e05c2fa503ce44191318895 (diff) | |
download | binaryen-d0f538ef24853e88d97f9f1aee3baa6414ac2b13.tar.gz binaryen-d0f538ef24853e88d97f9f1aee3baa6414ac2b13.tar.bz2 binaryen-d0f538ef24853e88d97f9f1aee3baa6414ac2b13.zip |
Fix case of `windows.h` include (#2372)
The capitalisation causes issues on case-sensitive file systems,
for example when cross-compiling binaryen for windows.
-rw-r--r-- | src/tools/wasm-reduce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-reduce.cpp b/src/tools/wasm-reduce.cpp index 54c662211..8923b5eec 100644 --- a/src/tools/wasm-reduce.cpp +++ b/src/tools/wasm-reduce.cpp @@ -44,7 +44,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include <Windows.h> +#include <windows.h> // Create a string with last error message std::string GetLastErrorStdStr() { DWORD error = GetLastError(); |