Hi Bruno,
On 5/24/24 4:44 AM, Bruno Haible wrote:
>> Does the get_windows_boot_time () not work on Native Windows? The
>> Mingw and MSVC actions fail it.
>
> There's apparently a difference between a full installation of
> Windows 10 and the image that they use in the Microsoft Azure cloud.
Ah, I didn't even think about that.
>> What Windows versions does Gnulib care about? Apparently this one only
>> exists on Vista and later. [1]
>
> The longer the API is available, the better. Gnulib supports
> Windows XP as the minimum. For modules used by Emacs ('boot-time' in
> particular) it should run even on Windows 2000.
>
> Which means that the code needs to fetch a pointer to the particular
> Windows API function at runtime, through GetProcAddress. See lib/isatty.c
> as an example.
>
> Would you like to give it a try?
Sure, I'll have a look at it later today. Thanks for the hints.
Collin