Re: [Mingw-w64-public] [PATCH] headers: Fix ambigous declaration of the LeaseObtained and LeaseExpires fields of the IP_ADAPTER_INFO structure in iptypes.h

2023-02-12 Thread Mateusz Wajchęprzełóż
The 32-bit version of the iphlpapi.dll library (where the GetAdaptersInfo function is implemented) expects these two fields (LeaseObtained and LeaseExpires) to be 32-bit. The iptypes.h header declares these fields as time_t. time_t type in the 32-bit build can be either 32-bit or 64-bit,

[Mingw-w64-public] [PATCH] headers: Fix ambigous declaration of the LeaseObtained and LeaseExpires fields of the IP_ADAPTER_INFO structure in iptypes.h

2023-02-12 Thread Mateusz Wajchęprzełóż
-Encoding: 8bit 32-bit version of the GetAdaptersInfo function requires these fields to be 32-bit Signed-off-by: Mateusz Wajchęprzełóż --- mingw-w64-headers/include/iptypes.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/include/iptypes.h b/mingw