diff options
| author | nijtmans <nijtmans> | 2010-01-13 06:46:56 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-01-13 06:46:56 (GMT) |
| commit | c7ff5624bca5c8ba57a80fae1d5327e45539d0f2 (patch) | |
| tree | b75b8bc167a7e17a11d9b03e2f9f37e3ff845fde /win/cat.c | |
| parent | ae13801052a9e55a3dcf36f4ae1f521ce1e19dc2 (diff) | |
| download | tcl-c7ff5624bca5c8ba57a80fae1d5327e45539d0f2.zip tcl-c7ff5624bca5c8ba57a80fae1d5327e45539d0f2.tar.gz tcl-c7ff5624bca5c8ba57a80fae1d5327e45539d0f2.tar.bz2 | |
Fix TCL_LL_MODIFIER for Cygwin
and various other minor CYGWIN
compilation problems
Diffstat (limited to 'win/cat.c')
| -rw-r--r-- | win/cat.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -8,11 +8,15 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: cat.c,v 1.4 2008/10/16 22:34:19 nijtmans Exp $ + * RCS: @(#) $Id: cat.c,v 1.5 2010/01/13 06:46:56 nijtmans Exp $ */ #include <stdio.h> -#include <io.h> +#ifdef __CYGWIN__ +# include <unistd.h> +#else +# include <io.h> +#endif #include <string.h> int |
