diff options
-rwxr-xr-x | libssp/configure | 2 | ||||
-rw-r--r-- | libssp/configure.ac | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libssp/configure b/libssp/configure index ea3d2a26481..32d3ca68ea5 100755 --- a/libssp/configure +++ b/libssp/configure @@ -4508,7 +4508,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is usable" >&5 $as_echo_n "checking whether vsnprintf is usable... " >&6; } if test "$cross_compiling" = yes; then : - ssp_have_usable_vsnprintf=undef + ssp_have_usable_vsnprintf=define else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/libssp/configure.ac b/libssp/configure.ac index 93dfa8da470..6e2a46b0773 100644 --- a/libssp/configure.ac +++ b/libssp/configure.ac @@ -145,7 +145,8 @@ int foo (char *buf, size_t n, const char *fmt, ...) return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;]), [ssp_have_usable_vsnprintf=define], [ssp_have_usable_vsnprintf=undef], -[ssp_have_usable_vsnprintf=undef]) +# Google-local: Assume this always works if cross-compiling. +[ssp_have_usable_vsnprintf=define]) if test "x$ssp_have_usable_vsnprintf" = xdefine; then AC_MSG_RESULT(yes) AC_DEFINE([HAVE_USABLE_VSNPRINTF],[1],[vsnprintf is present and works]) |