diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-11-12 16:44:54 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-11-12 16:44:54 (GMT) |
commit | c310b970e52bc2bc5095757f7efa540613e937c3 (patch) | |
tree | 5c1d1a11287554dfa45381eb9bd5bae42d7e2cc4 /unix/tclAppInit.c | |
parent | 89fa6d7540000b5091f028150dcf7946a85456a9 (diff) | |
download | tcl-c310b970e52bc2bc5095757f7efa540613e937c3.zip tcl-c310b970e52bc2bc5095757f7efa540613e937c3.tar.gz tcl-c310b970e52bc2bc5095757f7efa540613e937c3.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.c | 9 |
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 |