X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/715e4f7e3e26595209b5fe8a9ad3e60cce317e5f..6f631217a9acf6073c95f9d8ce6e3df794e5953e:/include/wx/defs.h 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