diff options
author | dgp <dgp@users.sourceforge.net> | 2004-04-06 22:25:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-04-06 22:25:46 (GMT) |
commit | da705965dccc8a0dd3cb919814226e0c4ec0385c (patch) | |
tree | f364fcb944511bb8790be7882532203c0195be6b /generic/tclExecute.c | |
parent | 7bf9dfccb2afbac70ebc42a88d57741b4a2df416 (diff) | |
download | tcl-da705965dccc8a0dd3cb919814226e0c4ec0385c.zip tcl-da705965dccc8a0dd3cb919814226e0c4ec0385c.tar.gz tcl-da705965dccc8a0dd3cb919814226e0c4ec0385c.tar.bz2 |
Patch 922727 committed. Implements three changes:
* generic/tclInt.h: Reworked the Tcl header files into a clean
* unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h
* win/tclWinInt.h: and every C source file should #include
* win/tclWinPort.h: at most one of those files to satisfy its
declaration needs. tclWinInt.h and tclWinPort.h also better organized
so that tclWinPort.h includes the Windows implementation of
cross-platform declarations, while tclWinInt.h makes declarations that
are available on Windows only.
* generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h
* generic/tclMath.h (removed): header file. The internal Tcl
* macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a
* win/tcl.dsp: #include <math.h> directly,
and file external to Tcl needing libm should do the same.
* win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file.
* win/makefile.bc (TCLOBJS): It's a vestige from matherr() days
* win/makefile.vc (TCLOBJS): gone by.
* win/tcl.dsp:
* win/tclWinMtherr.c (removed):
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 5a13482..daa560c 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,14 +11,14 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.123 2004/03/30 19:17:57 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.124 2004/04/06 22:25:50 dgp Exp $ */ #include "tclInt.h" #include "tclCompile.h" #ifndef TCL_NO_MATH -# include "tclMath.h" +# include <math.h> #endif /* @@ -27,9 +27,7 @@ * errno here. */ -#ifndef TCL_GENERIC_ONLY -# include "tclPort.h" -#else /* TCL_GENERIC_ONLY */ +#ifdef TCL_GENERIC_ONLY # ifndef NO_FLOAT_H # include <float.h> # else /* NO_FLOAT_H */ |