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