fix cross compiling with MinGW (#499)

MinGW on Linux is case sensitive. Windows is case insensitive.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2022-10-09 15:08:28 -07:00 committed by GitHub
parent f4b47333be
commit e04ea27dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#ifndef UNICODE
#error Must be compiled in UNICODE mode
#endif

View File

@ -14,7 +14,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#endif
namespace ftxui {

View File

@ -10,7 +10,7 @@
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#else
#include <sys/ioctl.h> // for winsize, ioctl, TIOCGWINSZ
#include <unistd.h> // for STDOUT_FILENO