summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-22 13:05:17 (GMT)
committernijtmans <nijtmans>2010-01-22 13:05:17 (GMT)
commit8af9602bdce0f0cca4eddf33487c19679f894d6c (patch)
treed1c680a2e76200a34e26d66804917222e2385394 /generic
parent054ab462a502b5dd37f904ad14e46190554dd8ba (diff)
downloadtcl-8af9602bdce0f0cca4eddf33487c19679f894d6c.zip
tcl-8af9602bdce0f0cca4eddf33487c19679f894d6c.tar.gz
tcl-8af9602bdce0f0cca4eddf33487c19679f894d6c.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.
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.h10
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.