Move Cygwin __USE_W32_SOCKETS definition to wxMSW-specific file
Don't do this in wx/defs.h itself.
This commit is contained in:
parent
635ec6c2af
commit
0f2b8a2065
3 changed files with 9 additions and 9 deletions
|
|
@ -44,9 +44,9 @@
|
|||
// We have to include this one first in order to check for wxUSE_XXX below.
|
||||
#include "wx/setup.h"
|
||||
|
||||
// Normally this is done in wx/defs.h, but as we don't include it here, we need
|
||||
// to do it manually to avoid warnings inside the standard headers included
|
||||
// from catch.hpp.
|
||||
// Normally this is done in include/wx/msw/gccpriv.h included from wx/defs.h,
|
||||
// but as we don't include it here, we need to do it manually to avoid warnings
|
||||
// inside the standard headers included from catch.hpp.
|
||||
#if defined(__CYGWIN__) && defined(__WINDOWS__)
|
||||
#define __USE_W32_SOCKETS
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue