summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-11-12 16:44:54 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-11-12 16:44:54 (GMT)
commitd2ccdc3e5003ca2340946dd13dec6a4783f716f5 (patch)
tree5c1d1a11287554dfa45381eb9bd5bae42d7e2cc4 /unix/tclAppInit.c
parent51f2943afd57e033279f3ed72c4b15f31427c412 (diff)
downloadtcl-d2ccdc3e5003ca2340946dd13dec6a4783f716f5.zip
tcl-d2ccdc3e5003ca2340946dd13dec6a4783f716f5.tar.gz
tcl-d2ccdc3e5003ca2340946dd13dec6a4783f716f5.tar.bz2
Adapt Tcl so it uses a config.h header instead of stuffing all #defs on the
command line. Third parties using generic/tclInt.h, unix/tclAppInit.c or unix/tcl.m4 should be unaffected. Part of the general TIP#34 project.
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index dd83707..ec6f48d 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -11,9 +11,16 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclAppInit.c,v 1.12 2004/10/28 04:52:53 davygrvy Exp $
+ * RCS: @(#) $Id: tclAppInit.c,v 1.13 2004/11/12 16:44:59 dkf Exp $
*/
+/*
+ * The core stores all its #defs in config.h for clarity...
+ */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "tcl.h"
#ifdef TCL_TEST