libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 747a2151bf1a79d98e94a0f8153fc7453a513fd8
parent 6f04fde5e6ca59e6418bf27f9c2db5fbb1d0cfeb
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Mon, 20 Dec 2021 21:00:00 +0300

configure: fixed compiler warning on MSys2/MinGW64 package build

Diffstat:
Mconfigure.ac | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac @@ -711,7 +711,7 @@ int main(void) mhd_host_os="${mhd_host_os}-${mhd_cv_wctr_type}" AS_VAR_IF([mhd_cv_wctr_type], ["msvcrt"], [ - AX_APPEND_COMPILE_FLAGS([-D__USE_MINGW_ANSI_STDIO=0], [CPPFLAGS]) + AX_APPEND_COMPILE_FLAGS([-U__USE_MINGW_ANSI_STDIO -D__USE_MINGW_ANSI_STDIO=0], [CPPFLAGS]) AC_SUBST([W32CRT], [MSVCRT]) ], [AC_SUBST([W32CRT], [UCRT])] )