From 9ae3a35b19b6a5b5892e1a60610814c195f530b9 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 31 Oct 2024 17:19:21 -0700 Subject: [PATCH] AC_FUNC_MALLOC now guesses yes when cross-compiling The only platform that had this problem was native Windows, and MSVC's malloc sets errno since 2015 at least. * lib/autoconf/functions.m4 (AC_FUNC_MALLOC): Guess yes when cross-compiling. --- lib/autoconf/functions.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 23a0bf8a1..c12e19877 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -1020,7 +1020,7 @@ AC_DEFUN([AC_FUNC_MALLOC], AC_LIBOBJ(malloc) AC_DEFINE([malloc], [rpl_malloc], [Define to rpl_malloc if the replacement function should be used.])], - ["guessing no"]) + ["guessing yes"]) ])# AC_FUNC_MALLOC -- 2.47.3