_WIN32_WINNT redefined?

i.nixman@autistici.org i.nixman@autistici.org
Wed Nov 2 09:46:20 GMT 2022


On 2022-11-02 08:44, niXman via Gdb wrote:
> On 2022-11-02 08:21, niXman via Gdb wrote:

ok, I did a little research.

the `_WIN32_WINNT` is defined in `gdbsupport/common-defs.h` only, but 
referenced in `gnulib/import/gettimeofdeay.c` and 
`gnulib/import/stat-w32.c` only, but not directly because those files 
include `windows,h` and `sdkdkver.h`. thus that `_WIN32_WINNT` define is 
never used!

so I think the best way is to remove that define completely.


ideas?


More information about the Gdb mailing list