From e04ea27dcdc5f6e6e977e0f0031dd7b1b4f63ff5 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 9 Oct 2022 15:08:28 -0700 Subject: [PATCH] fix cross compiling with MinGW (#499) MinGW on Linux is case sensitive. Windows is case insensitive. Signed-off-by: Rosen Penev Signed-off-by: Rosen Penev --- src/ftxui/component/screen_interactive.cpp | 2 +- src/ftxui/screen/screen.cpp | 2 +- src/ftxui/screen/terminal.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ftxui/component/screen_interactive.cpp b/src/ftxui/component/screen_interactive.cpp index 899f518..32d7aab 100644 --- a/src/ftxui/component/screen_interactive.cpp +++ b/src/ftxui/component/screen_interactive.cpp @@ -33,7 +33,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include #ifndef UNICODE #error Must be compiled in UNICODE mode #endif diff --git a/src/ftxui/screen/screen.cpp b/src/ftxui/screen/screen.cpp index ed73831..2f7b124 100644 --- a/src/ftxui/screen/screen.cpp +++ b/src/ftxui/screen/screen.cpp @@ -14,7 +14,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include #endif namespace ftxui { diff --git a/src/ftxui/screen/terminal.cpp b/src/ftxui/screen/terminal.cpp index 4e1dd26..368212d 100644 --- a/src/ftxui/screen/terminal.cpp +++ b/src/ftxui/screen/terminal.cpp @@ -10,7 +10,7 @@ #define NOMINMAX #endif -#include +#include #else #include // for winsize, ioctl, TIOCGWINSZ #include // for STDOUT_FILENO