diff options
author | nijtmans <nijtmans@noemail.net> | 2010-01-22 13:05:16 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-01-22 13:05:16 (GMT) |
commit | eda07776b16139cfd8edc27ce63bb4d514e81d13 (patch) | |
tree | d1c680a2e76200a34e26d66804917222e2385394 | |
parent | f687d2f045c47efb2f1ce87b639171763ac20f0c (diff) | |
download | tcl-eda07776b16139cfd8edc27ce63bb4d514e81d13.zip tcl-eda07776b16139cfd8edc27ce63bb4d514e81d13.tar.gz tcl-eda07776b16139cfd8edc27ce63bb4d514e81d13.tar.bz2 |
Revert [2009-12-21] change in tcl.h, in stead
resolve the CYGWIN inclusion problems by
re-arranging the inclusions at other places.
Make cygwin configuration error into
a warning: CYGWIN compilation works
although there still are test failures.
FossilOrigin-Name: 73e5d1067bebb1ce1a6ebacf8b4a415453ffd62c
-rw-r--r-- | generic/tcl.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index bcf0251..201a3a1 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tcl.h,v 1.297 2010/01/22 13:02:50 nijtmans Exp $ + * RCS: @(#) $Id: tcl.h,v 1.298 2010/01/22 13:05:17 nijtmans Exp $ */ #ifndef _TCL @@ -138,13 +138,7 @@ extern "C" { * prior Tcl releases. */ -#if 1 -# ifndef NULL -# define NULL ((void *) 0) -# endif -#else -# include <stdio.h> -#endif +#include <stdio.h> /* * Support for functions with a variable number of arguments. |