--- gforth/prim 2000/12/24 15:54:18 1.68 +++ gforth/prim 2001/01/09 16:11:35 1.69 @@ -2175,7 +2175,8 @@ flag = FLAG(!fnmatch(pattern, string, 0) newline ( -- c_addr u ) gforth ""String containing the newline sequence of the host OS"" char newline[] = { -#ifdef unix +#if defined(unix) || defined(__MACH__) +/* Darwin/MacOS X sets __MACH__, but not unix. */ '\n' #else '\r','\n'