Enable standard stdio methods with MinGW

This unfortunately doesn't fix the %z warnings for whatever reason, but it
should help guarantee correct function behavior by not relying on msvcrt's
stdio functions.
This commit is contained in:
Chris Robinson
2020-10-13 05:59:35 -07:00
parent 7b43cb8266
commit 5f8fe0e5bb
+3
View File
@@ -116,6 +116,9 @@ set(EXTRA_LIBS )
if(WIN32)
set(CPP_DEFS ${CPP_DEFS} _WIN32)
if(MINGW)
set(CPP_DEFS ${CPP_DEFS} __USE_MINGW_ANSI_STDIO)
endif()
option(ALSOFT_BUILD_ROUTER "Build the router (EXPERIMENTAL; creates OpenAL32.dll and soft_oal.dll)" OFF)
if(MINGW)