From 5ca5fdff9f453b1499a453ecd660161e8f4520c1 Mon Sep 17 00:00:00 2001 From: Nicolas Benes Date: Mon, 26 Sep 2022 12:42:01 +0200 Subject: [PATCH] Use lower-case "windows.h" for case-sensitive file systems The "windows.h" in MinGW-W64 is lower-case. When cross-compiling for Windows on Linux with a case-sensitive file system, the upper-case "Windows.h" file is not found and compilation fails. Always use lower-case "windows.h" to fix cross-compilation. --- tests/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.cpp b/tests/utils.cpp index 0d986abb4..6d027797b 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -1,7 +1,7 @@ #include "includes.h" #ifdef _WIN32 -# include +# include #else # include # include