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
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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