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: Fri, 23 Dec 2022 15:47:27 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 12/23/22 00:38, Roger Pack wrote:
$ x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../..   -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0  -mtune=generic -O3 -MT gettimeofday.o -MD -MP -MF
$depbase.Tpo -c -o - -dM -E gettimeofday.c | grep WIN32_WINNT
#define _WIN32_WINNT 0xa00
https://www.mail-archive.com/mingw-w64-public@lists.sourceforge.net/msg18212.html

If this is from a build of vanilla Gnulib, that's OK: Gnulib is merely following MingW's lead and if MingW defaults to MS-Windows 10 then that'll be the default in Gnulib too.

If this is from an Emacs build then I suggest tracking down why Emacs isn't defining _WIN32_WINNT to a value appropriate for Emacs and MingW. nt/inc/ms-w32.h has a "#define _WIN32_WINNT 0x0400" that should be overriding the MingW default.




reply via email to

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