bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettimeofday.c windows version?


From: Paul Eggert
Subject: Re: gettimeofday.c windows version?
Date: Sun, 11 Dec 2022 23:17:32 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 2022-12-11 10:55, Eli Zaretskii wrote:
my main development machine runs Windows XP.

Yeah, it's sort of like the UCLA CS Dept. still operates a Solaris 10 sparc server that was long the central platform, and I still keep porting to it. I expect MS-Windows XP has more users than Solaris 10 sparc, even though the Solaris 10 is still commercially supported (by Oracle) whereas MS-Windows XP is not (by Microsoft). Although few if any ordinary users will run Emacs 30+ on either platform, Emacs still keeps being ported to them if only to keep the greybeards happy. :-)


That being said, I'm not quite understanding the underlying issue here. Is it that MinGW has "#define _WIN32_WINNT 0x502", which as I understand from [1] means MinGW says it assumes MS-Windows Server 2003 and later, whereas Eli wants Emacs 30+ to be portable even further back to MS-Windows XP (i.e., _WIN32_WINNT == 0x0501)? Or is it more complicated than that?

If it's merely the abovementioned issue, Gnulib already in some cases ports to _WIN32_WINNT <= 0x501 in some cases, so would it be painful for it to do so here too? (But then, I haven't seen a specific patch proposed that meets Eli's concerns - perhaps I missed it?)

[1]: https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]