]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
snprintf on windows can do %lld, just spurious compiler warnings.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 3 Dec 2013 14:17:44 +0000 (14:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 3 Dec 2013 14:17:44 +0000 (14:17 +0000)
git-svn-id: file:///svn/unbound/trunk@3030 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac

index 334ef975c5aa363f0e29e82cccaca5e5935cc6a3..72f669044b928e40c3e42a9d09347b491feba118 100755 (executable)
--- a/configure
+++ b/configure
@@ -18073,9 +18073,6 @@ 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
@@ -18090,8 +18087,6 @@ 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
index 51f418faa69622afa501f88511cf7cc670d71a0f..efc1a4a5d724143ba8c1391d61d2787dd3d5b27d 100644 (file)
@@ -953,12 +953,7 @@ 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)