source: trunk/tcl/tclMath.h@ 18

Last change on this file since 18 was 2, checked in by Pavel Demin, 16 years ago

first commit

File size: 753 bytes
Line 
1/*
2 * tclMath.h --
3 *
4 * This file is necessary because of Metrowerks CodeWarrior Pro 1
5 * on the Macintosh. With 8-byte doubles turned on, the definitions of
6 * sin, cos, acos, etc., are screwed up. They are fine as long as
7 * they are used as function calls, but if the function pointers
8 * are passed around and used, they will crash hard on the 68K.
9 *
10 * Copyright (c) 1997 Sun Microsystems, Inc.
11 *
12 * See the file "license.terms" for information on usage and redistribution
13 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
14 *
15 * RCS: @(#) $Id: tclMath.h,v 1.1 2008-06-04 13:58:08 demin Exp $
16 */
17
18#ifndef _TCLMATH
19#define _TCLMATH
20
21#if defined(MAC_TCL)
22# include "tclMacMath.h"
23#else
24# include <math.h>
25#endif
26
27#endif /* _TCLMATH */
Note: See TracBrowser for help on using the repository browser.