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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user