summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-09-26 14:08:36 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-09-26 14:08:36 (GMT)
commit559a23d9cfc638221b16fa7d2561fc06ff792fb0 (patch)
tree2227619d2063d82df63eab10b057a841d22bf724 /generic
parentc2af4db9faa7e6de234f565278c8962543a2fc2d (diff)
downloadtcl-559a23d9cfc638221b16fa7d2561fc06ff792fb0.zip
tcl-559a23d9cfc638221b16fa7d2561fc06ff792fb0.tar.gz
tcl-559a23d9cfc638221b16fa7d2561fc06ff792fb0.tar.bz2
* generic/tcl.h: As 2006-09-22 commit from Donal K. Fellows
demonstrates, "#define NULL 0" is just wrong, and as a quotable chat figure observed, "If NULL isn't defined, we're not using a C compiler." Improper fallback definition of NULL removed.
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 657ab9d..cc79407 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.215 2006/09/26 00:05:02 patthoyts Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.216 2006/09/26 14:08:36 dgp Exp $
*/
#ifndef _TCL
@@ -321,10 +321,6 @@ typedef long LONG;
* Miscellaneous declarations.
*/
-#ifndef NULL
-# define NULL 0
-#endif
-
#ifndef _CLIENTDATA
# ifndef NO_VOID
typedef void *ClientData;