X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32dd8aa22bf9a26dc3f985e8ddd148e87fd06d9d..87f0b1323b7ac77f02133b836c8dfee63b0fd387:/src/common/txtstrm.cpp?ds=inline diff --git a/src/common/txtstrm.cpp b/src/common/txtstrm.cpp index 9408345960..7ae75f5b76 100644 --- a/src/common/txtstrm.cpp +++ b/src/common/txtstrm.cpp @@ -336,7 +336,7 @@ wxTextOutputStream::wxTextOutputStream(wxOutputStream& s, wxEOL mode) m_mode = mode; if (m_mode == wxEOL_NATIVE) { -#if defined(__WXMSW__) || defined(__WXPM__) +#if defined(__WINDOWS__) || defined(__WXPM__) m_mode = wxEOL_DOS; #else m_mode = wxEOL_UNIX; @@ -356,7 +356,7 @@ void wxTextOutputStream::SetMode(wxEOL mode) m_mode = mode; if (m_mode == wxEOL_NATIVE) { -#if defined(__WXMSW__) || defined(__WXPM__) +#if defined(__WINDOWS__) || defined(__WXPM__) m_mode = wxEOL_DOS; #else m_mode = wxEOL_UNIX;