mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-08-31 11:54:44 +08:00
fix: using max() min() collides in windows build with predefined macros
This commit is contained in:
parent
8ef18ab647
commit
54c1053ca3
@ -15,6 +15,14 @@
|
||||
#include "ftxui/component/component_base.hpp" // for Component
|
||||
#include "ftxui/screen/color.hpp" // for Color, Color::GrayDark, Color::White
|
||||
|
||||
#if defined(max)
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
#if defined(min)
|
||||
#undef min
|
||||
#endif
|
||||
|
||||
namespace ftxui {
|
||||
|
||||
/// @brief arguments for transform from |ButtonOption|, |CheckboxOption|,
|
||||
|
Loading…
Reference in New Issue
Block a user