[Bf-committers] Yet another compile patch for MinGW

Ρυακιωτάκης Αντώνης kalast at gmail.com
Tue May 10 18:05:57 CEST 2011


I forgot to post a few comments on those for future reference:

#  define WINVER 0x0501

*   _WIN32_WINNT 0x0500 is actually defined as WINVER in windef.h so it's
actually quite the same.


*  -#define RegisterRawInputDevices(
pRawInputDevices, uiNumDevices, cbSize)
((pRegisterRawInputDevices)?pRegisterRawInputDevices(pRawInputDevices,
uiNumDevices, cbSize):0)

This is already defined in winuser.h for WINVER > 0x0501(Actually for
_WIN32_WINNT, but see above) so as long as we define WINVER, this definition
is redundant.


More information about the Bf-committers mailing list