os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/generic/tclMath.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/generic/tclMath.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,27 @@
1.4 +/*
1.5 + * tclMath.h --
1.6 + *
1.7 + * This file is necessary because of Metrowerks CodeWarrior Pro 1
1.8 + * on the Macintosh. With 8-byte doubles turned on, the definitions of
1.9 + * sin, cos, acos, etc., are screwed up. They are fine as long as
1.10 + * they are used as function calls, but if the function pointers
1.11 + * are passed around and used, they will crash hard on the 68K.
1.12 + *
1.13 + * Copyright (c) 1997 Sun Microsystems, Inc.
1.14 + *
1.15 + * See the file "license.terms" for information on usage and redistribution
1.16 + * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1.17 + *
1.18 + * RCS: @(#) $Id: tclMath.h,v 1.2 1998/09/14 18:40:01 stanton Exp $
1.19 + */
1.20 +
1.21 +#ifndef _TCLMATH
1.22 +#define _TCLMATH
1.23 +
1.24 +#if defined(MAC_TCL)
1.25 +# include "tclMacMath.h"
1.26 +#else
1.27 +# include <math.h>
1.28 +#endif
1.29 +
1.30 +#endif /* _TCLMATH */