On Wed, May 18, 2022 at 09:02:47PM -0300, alexandre schenberg wrote: > Could you explain me how to define it (and where)?
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 8d57724..7e16915 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -1395,7 +1395,9 @@ AC_CACHE_VAL([xorg_cv_malloc0_returns_null], exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1); ])], [xorg_cv_malloc0_returns_null=yes], - [xorg_cv_malloc0_returns_null=no])]) + [xorg_cv_malloc0_returns_null=no], + [xorg_cv_malloc0_returns_null=yes + AC_MSG_WARN([assuming malloc(0) returns null])])]) MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null fi AC_MSG_RESULT([$MALLOC_ZERO_RETURNS_NULL]) -- Thomas E. Dickey <dic...@invisible-island.net> https://invisible-island.net ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature