From: Gilles Depeyrot Date: Mon, 5 Nov 2001 21:02:23 +0000 (+0000) Subject: use Unix line ending when compiling with Apple DevTools X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f3ff38139d1a9f285f25e5a70cb0f5ad301fd897 use Unix line ending when compiling with Apple DevTools git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;