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, depending on the presence of the _USE_32BIT_TIME_T macro. This patch eliminates the need to define the _USE_32BIT_TIME_T macro for binary compatibility on 32-bit builds. This patch does not affect 64-bit builds. _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public