X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..016105291a38f62a4811025653947cb4f8da765e:/src/common/txtstrm.cpp diff --git a/src/common/txtstrm.cpp b/src/common/txtstrm.cpp index 8fd6ffaaaf..f90acd13fd 100644 --- a/src/common/txtstrm.cpp +++ b/src/common/txtstrm.cpp @@ -351,7 +351,7 @@ wxTextOutputStream::wxTextOutputStream(wxOutputStream& s, wxEOL mode) { #if defined(__WXMSW__) || defined(__WXPM__) m_mode = wxEOL_DOS; -#elif defined(__WXMAC__) +#elif defined(__WXMAC__) && !defined(__DARWIN__) m_mode = wxEOL_MAC; #else m_mode = wxEOL_UNIX; @@ -370,7 +370,7 @@ void wxTextOutputStream::SetMode(wxEOL mode) { #if defined(__WXMSW__) || defined(__WXPM__) m_mode = wxEOL_DOS; -#elif defined(__WXMAC__) +#elif defined(__WXMAC__) && !defined(__DARWIN__) m_mode = wxEOL_MAC; #else m_mode = wxEOL_UNIX;