An end of line character is "\r" on the Mac

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6921 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2009-03-29 21:49:30 +00:00 committed by Git SVN Gateway
parent f179b6f092
commit 12eccf9d4c
1 changed files with 3 additions and 1 deletions

View File

@ -40,8 +40,10 @@
#endif
static const char endl[] =
#if defined(WZ_OS_WIN)
#if defined(WZ_OS_WIN)
"\r\n";
#elif defined(WZ_OS_MAC)
"\r";
#else
"\n";
#endif