On 2024-06-05 09:22, Bruno Haible wrote:

Which platform is this?

Don't know offhand. I could ask.

Right now Emacs is starting to freeze up for cutting off the next branch and I expect people would not be interested in changing this crufty old stuff right now. Probably better to ask later.


why not choose the Gnulib approach, namely to let the 'locale'
module provide the replacement if this header file is missing?

Because that would drag in a bunch more Gnulib modules. Eli would rather minimize that, as he reimplements Gnulib both for ancient (so old that Microsoft stopped supporting it many years ago) MS-Windows and for not-so-ancient MS-Windows. Not my cup of tea, but not my decision either.


On that platform, the issue will occur in many more places. Dozens
of Gnulib source files use <locale.h>, and several Emacs source files
as well.

I don't see that issue. All files linked into Emacs proper (including files from Gnulib) include <locale.h> only conditionally, e.g., protected by "#ifdef HAVE_SETLOCALE".

Reply via email to