mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-09 11:27:44 +02:00
use our own snprintf on windows for %lld.
git-svn-id: file:///svn/unbound/trunk@3028 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -18073,6 +18073,9 @@ esac
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if test "$on_mingw" != "yes"; then
|
||||
# on windows we use our own snprintf because it is nicer with 64bit %lld.
|
||||
ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
|
||||
if test "x$ac_cv_func_snprintf" = xyes; then :
|
||||
$as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
|
||||
@@ -18087,6 +18090,8 @@ esac
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
|
||||
if test "x$ac_cv_func_strlcat" = xyes; then :
|
||||
$as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
|
||||
|
||||
@@ -953,7 +953,12 @@ fi
|
||||
AC_REPLACE_FUNCS(inet_aton)
|
||||
AC_REPLACE_FUNCS(inet_pton)
|
||||
AC_REPLACE_FUNCS(inet_ntop)
|
||||
|
||||
if test "$on_mingw" != "yes"; then
|
||||
# on windows we use our own snprintf because it is nicer with 64bit %lld.
|
||||
AC_REPLACE_FUNCS(snprintf)
|
||||
fi
|
||||
|
||||
AC_REPLACE_FUNCS(strlcat)
|
||||
AC_REPLACE_FUNCS(strlcpy)
|
||||
AC_REPLACE_FUNCS(memmove)
|
||||
|
||||
Reference in New Issue
Block a user