mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 18:59:59 +08:00
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:
parent
f4b47333be
commit
e04ea27dcd
@ -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
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace ftxui {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user