mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
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.
This commit is contained in:
parent
81de01c02c
commit
5ca5fdff9f
@ -1,7 +1,7 @@
|
||||
#include "includes.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <Windows.h>
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <sys/types.h>
|
||||
# include <dirent.h>
|
||||
|
Loading…
Reference in New Issue
Block a user