Build fix: don't test for __WXMSW__ using #if in wx/defs.h.

__WXMSW__ should be tested using #ifdef but in fact there doesn't seem to be
any need to test for it at all here as __CYGWIN__ implies __WXMSW__ anyhow.

Closes #12266.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-07-25 11:42:43 +00:00
parent c02f03d563
commit 128eed6c64

View File

@ -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