|
|
@ -5055,6 +5055,8 @@ probe_libc(){ |
|
|
|
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 |
|
|
|
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 |
|
|
|
check_${pfx}cpp_condition _mingw.h "defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0502" || |
|
|
|
check_${pfx}cpp_condition _mingw.h "defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0502" || |
|
|
|
add_${pfx}cppflags -D_WIN32_WINNT=0x0502 |
|
|
|
add_${pfx}cppflags -D_WIN32_WINNT=0x0502 |
|
|
|
|
|
|
|
check_${pfx}cpp_condition _mingw.h "__MSVCRT_VERSION__ < 0x0700__" && |
|
|
|
|
|
|
|
add_${pfx}cppflags -D__MSVCRT_VERSION__=0x0700 |
|
|
|
eval test \$${pfx_no_}cc_type = "gcc" && |
|
|
|
eval test \$${pfx_no_}cc_type = "gcc" && |
|
|
|
add_${pfx}cppflags -D__printf__=__gnu_printf__ |
|
|
|
add_${pfx}cppflags -D__printf__=__gnu_printf__ |
|
|
|
elif check_${pfx}cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then |
|
|
|
elif check_${pfx}cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then |
|
|
|