diff options
author | davygrvy <davygrvy@pobox.com> | 2002-02-12 14:39:48 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2002-02-12 14:39:48 (GMT) |
commit | e071a815b4ff8fff5244e39b85e56311ec78c466 (patch) | |
tree | 49e8a300e6db8fb74524d2d5fd9e31291d459ce1 /unix | |
parent | de72c79290dc40def3b8de1d7256b060d965ce7e (diff) | |
download | tcl-e071a815b4ff8fff5244e39b85e56311ec78c466.zip tcl-e071a815b4ff8fff5244e39b85e56311ec78c466.tar.gz tcl-e071a815b4ff8fff5244e39b85e56311ec78c466.tar.bz2 |
* djgpp/ (new directory)
* djgpp/Makefile (new):
* unix/tclAppInit.c:
* unix/tclMtherr.c:
* unix/tclUnixFCmd.c:
* unix/tclUnixFile.c:
* unix/tclUnixInit.c:
* unix/tclUnixPort.h: Early stage of DJGPP support for building
Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32
for the TCP/IP stack. No autoconf, yet. Barely tested, but
makes a working exe that runs Tcl in protected-mode, flat memory.
[exec] and pipes will need the most work as multi-tasking on DOS
has to be carefully.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixPort.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 0fafe9f..f37d272 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPort.h,v 1.19 2002/02/08 09:33:03 hobbs Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.20 2002/02/12 14:39:48 davygrvy Exp $ */ #ifndef _TCLUNIXPORT @@ -456,7 +456,11 @@ extern double strtod(); * The default platform eol translation on Unix is TCL_TRANSLATE_LF. */ +#ifdef DJGPP +#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_CRLF +#else #define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_LF +#endif /* * The following macros have trivial definitions, allowing generic code to |