Revert "Move Cygwin __USE_W32_SOCKETS definition to wxMSW-specific file"
This reverts commit 0f2b8a2065 as it broke
Cygwin build due to problems with fd_set definition.
Closes #23674.
This commit is contained in:
parent
a5c0a81798
commit
6bd2b6b4db
3 changed files with 9 additions and 9 deletions
|
|
@ -163,6 +163,12 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* Prevents conflicts between sys/types.h and winsock.h with Cygwin, */
|
||||
/* when using Windows sockets. */
|
||||
#if defined(__CYGWIN__) && defined(__WINDOWS__)
|
||||
#define __USE_W32_SOCKETS
|
||||
#endif
|
||||
|
||||
/* ---------------------------------------------------------------------------- */
|
||||
/* wxWidgets version and compatibility defines */
|
||||
/* ---------------------------------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue