diff --git a/include/wx/defs.h b/include/wx/defs.h index 9ac8e09e78..26acd387f0 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -195,7 +195,7 @@ /* Prevents conflicts between sys/types.h and winsock.h with Cygwin, */ /* when using Windows sockets. */ -#if defined(__CYGWIN__) && (__WXMSW__) +#ifdef __CYGWIN__ #define __USE_W32_SOCKETS #endif