diff options
author | dkf <dkf@noemail.net> | 2004-11-12 16:44:54 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2004-11-12 16:44:54 (GMT) |
commit | f8bdf85ee4c7fd8192258c6bc247c272682f63f8 (patch) | |
tree | 5c1d1a11287554dfa45381eb9bd5bae42d7e2cc4 /unix/tclAppInit.c | |
parent | e81afc1799ffc8b98a71219a1fbbc2e8d6667615 (diff) | |
download | tcl-f8bdf85ee4c7fd8192258c6bc247c272682f63f8.zip tcl-f8bdf85ee4c7fd8192258c6bc247c272682f63f8.tar.gz tcl-f8bdf85ee4c7fd8192258c6bc247c272682f63f8.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.
FossilOrigin-Name: 17ad03f44f91f693142d2d643bce6039f6a2f45a
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 |