| version 1.114, Tue Jan 7 22:38:36 2003 UTC | version 1.115, Wed Jan 8 09:38:28 2003 UTC | ||
|---|---|---|---|
|
|
||
| newline ( -- c_addr u ) gforth | newline ( -- c_addr u ) gforth | ||
| ""String containing the newline sequence of the host OS"" | ""String containing the newline sequence of the host OS"" | ||
| char newline[] = { | char newline[] = { | ||
| #if defined(unix) || defined(__MACH__) | #if DIRSEP=='/' | ||
| /* Darwin/MacOS X sets __MACH__, but not unix. */ | /* Unix */ | ||
| '\n' | '\n' | ||
| #else | #else | ||
| /* DOS, Win, OS/2 */ | |||
| '\r','\n' | '\r','\n' | ||
| #endif | #endif | ||
| }; | }; |
|
||||||||
|
CVS Admin Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |