diff --git a/scripts/genie.lua b/scripts/genie.lua index b6ccf16583b..004016c916f 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -882,6 +882,12 @@ end "-Wno-array-bounds" } end + if (version >= 50000) then + buildoptions { + "-D__USE_MINGW_ANSI_STDIO=1", + } + end + end end --ifeq ($(findstring arm,$(UNAME)),arm)