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
|
#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
|
||||||
|
@ -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 {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user