Re: help for MS-Windows code related to locales for C similar with Perl

2025-01-18 Thread Eli Zaretskii
> Date: Sat, 18 Jan 2025 13:35:38 +0100 > From: Patrice Dumas > Cc: bug-texinfo@gnu.org > > On Sat, Jan 18, 2025 at 02:18:14PM +0200, Eli Zaretskii wrote: > > > Date: Sat, 18 Jan 2025 12:11:13 +0100 > > > From: Patrice Dumas > > > Cc: Eli Zaretskii > > > > > The header is . You don't need to

Re: help for MS-Windows code related to locales for C similar with Perl

2025-01-18 Thread Patrice Dumas
On Sat, Jan 18, 2025 at 02:18:14PM +0200, Eli Zaretskii wrote: > > Date: Sat, 18 Jan 2025 12:11:13 +0100 > > From: Patrice Dumas > > Cc: Eli Zaretskii > > > The header is . You don't need to load kernel32.dll or > import GetACP, as this will be taken care of when the program is > linked on Wind

Re: help for MS-Windows code related to locales for C similar with Perl

2025-01-18 Thread Eli Zaretskii
> Date: Sat, 18 Jan 2025 12:11:13 +0100 > From: Patrice Dumas > Cc: Eli Zaretskii > > 1) what would be the equivalent in C of if ($^O eq 'MSWin32') in Perl? > My guess is that it is > # ifdef _WIN32 > but I am not sure. Yes, you can use _WIN32. > 2) what would be the Ms-Windows specific parts