Re: [PATCH 2/2] stdlib: fix MB_CUR_MAX on older Android

2024-12-25 Thread Paul Eggert
On 2024-12-25 06:17, Bruno Haible wrote: Paul Eggert wrote: +[AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[#include + ]], + [[return !!MB_CUR_MAX;]])], + [dnl Initial guess, used when cross-compiling or when no suitable locale With only 1 column o

Re: [PATCH 2/2] stdlib: fix MB_CUR_MAX on older Android

2024-12-25 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > +[AC_LINK_IFELSE( > + [AC_LANG_PROGRAM([[#include > + ]], > + [[return !!MB_CUR_MAX;]])], > + [dnl Initial guess, used when cross-compiling or when no suitable locale With only 1 column of indentation, I have a hard time u

[PATCH 2/2] stdlib: fix MB_CUR_MAX on older Android

2024-12-23 Thread Paul Eggert
Android NDK r16 MB_CUR_MAX doesn’t link when compiling C. Problem found in GNU Emacs, which worked around it this way: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=39a7e6b79fdeafc539a36f6831d922a2622cb679 ... but this ran afoul of the recent Gnulib change that added lib/stdlib.c. * lib/st