Fix Windows.h case on Linux: use lowercase windows.h

On Linux (case-sensitive filesystem) MinGW-w64 installs the header as
windows.h (lowercase) while comm.h included <Windows.h> (capital W),
causing a fatal compile error when cross-compiling for Windows.

Changed to <windows.h> which works on both Linux/MinGW-w64 and native
Windows/MSVC (Windows header includes are case-insensitive on NTFS).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 12:43:45 +03:00
co-authored by Claude Sonnet 4.6
parent 90c906eb3a
commit a77dbbb6e5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ warren@wpratt.com
#endif
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#include <process.h>
#include <intrin.h>
#endif