Fixes & Hacks to make sockets compile on CYGWIN with windows enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,7 +23,13 @@
|
||||
|
||||
#include "wx/msw/wrapwin.h"
|
||||
|
||||
#if defined(__WXWINCE__)
|
||||
#if defined(__CYGWIN__)
|
||||
//CYGWIN gives annoying warning about runtime stuff if we don't do this
|
||||
# define USE_SYS_TYPES_FD_SET
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#if defined(__WXWINCE__) || defined(__CYGWIN__)
|
||||
#include <winsock.h>
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user