summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-04-12 18:32:40 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-04-12 18:32:40 (GMT)
commit565bd04328ff6afd8e176982f12ae7e376db8f34 (patch)
treeedb520b0d49a945ff896d9c0b33af4f921e40309 /compat
parentb5e4641f4f3a9c8366548fb49dc3178fb5451768 (diff)
downloadtcl-565bd04328ff6afd8e176982f12ae7e376db8f34.zip
tcl-565bd04328ff6afd8e176982f12ae7e376db8f34.tar.gz
tcl-565bd04328ff6afd8e176982f12ae7e376db8f34.tar.bz2
added definition of NULL to strstr.c for Bug 1175161
Diffstat (limited to 'compat')
-rw-r--r--compat/strstr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/compat/strstr.c b/compat/strstr.c
index d1f8516..151e3f3 100644
--- a/compat/strstr.c
+++ b/compat/strstr.c
@@ -9,10 +9,13 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: strstr.c,v 1.4 2004/04/06 22:25:48 dgp Exp $
+ * RCS: @(#) $Id: strstr.c,v 1.5 2005/04/12 18:32:41 kennykb Exp $
*/
#include "tcl.h"
+#ifndef NULL
+#define NULL 0
+#endif
/*
*----------------------------------------------------------------------