Support ANSI *printf specifiers on mingw-w64

This commit is contained in:
Milton Woods 2021-08-24 19:37:34 +10:00
parent 09e0e04227
commit 8525818d90

View File

@ -261,6 +261,11 @@ IF(MSVC)
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS)
ENDIF()
# Support ANSI format specifiers for *printf on MINGW:
IF(MINGW)
ADD_DEFINITIONS(-D__USE_MINGW_ANSI_STDIO=1)
ENDIF()
#####
# System inspection checks
#####