diff --git a/docs/changes.txt b/docs/changes.txt index a8c923495b..665b5ab086 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -574,6 +574,14 @@ Major new features in this release +3.0.2: (released 2014-xx-xx) +---------------------------- + +wxMSW: + +- Fix Cygwin 1.7 build. + + 3.0.1: (released 2014-06-15) ---------------------------- diff --git a/include/wx/app.h b/include/wx/app.h index 60e02b35cc..9a73469570 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -516,7 +516,7 @@ protected: wxDECLARE_NO_COPY_CLASS(wxAppConsoleBase); }; -#if defined(__UNIX__) && !defined(__WXMSW__) +#if defined(__UNIX__) && !defined(__WINDOWS__) #include "wx/unix/app.h" #else // this has to be a class and not a typedef as we forward declare it diff --git a/include/wx/defs.h b/include/wx/defs.h index 6dc716a696..397ddd7057 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -216,7 +216,7 @@ /* Prevents conflicts between sys/types.h and winsock.h with Cygwin, */ /* when using Windows sockets. */ -#if defined(__CYGWIN__) && defined(__WXMSW__) +#if defined(__CYGWIN__) && defined(__WINDOWS__) #define __USE_W32_SOCKETS #endif diff --git a/include/wx/private/pipestream.h b/include/wx/private/pipestream.h index f14d9aba79..7fdcb71760 100644 --- a/include/wx/private/pipestream.h +++ b/include/wx/private/pipestream.h @@ -20,7 +20,7 @@ // IsOpened() method. // // wxPipeOutputStream is similar but has no additional methods at all. -#ifdef __UNIX__ +#if defined(__UNIX__) && !defined(__WINDOWS__) #include "wx/unix/private/pipestream.h" #elif defined(__WINDOWS__) && !defined(__WXWINCE__) #include "wx/msw/private/pipestream.h" diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index da66df3cdf..f2adc5634e 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -46,7 +46,7 @@ #include -#if defined(__UNIX__) && !defined(__WXMSW__) +#if defined(__UNIX__) && !defined(__WINDOWS__) #include #include #endif // __UNIX__