Add wxUSE_WINSOCK2 wxMSW option to include winsock2.h
Including <winsock.h> and <winsock2.h> is incompatible and if the application wants to use the latter, it may be convenient to define wxUSE_WINSOCK2 when building wxWidgets instead of having to work around winsock.h implicit inclusion from include/wx/msw/wrapwin.h. Closes https://github.com/wxWidgets/wxWidgets/pull/1122
This commit is contained in:
parent
eaee931011
commit
8deb2cf0bb
11 changed files with 65 additions and 3 deletions
|
|
@ -714,6 +714,8 @@
|
|||
|
||||
#cmakedefine01 wxUSE_INICONF
|
||||
|
||||
#cmakedefine01 wxUSE_WINSOCK2
|
||||
|
||||
|
||||
#cmakedefine01 wxUSE_DATEPICKCTRL_GENERIC
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue