os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/generic/tclMath.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
/*
sl@0
     2
 * tclMath.h --
sl@0
     3
 *
sl@0
     4
 *	This file is necessary because of Metrowerks CodeWarrior Pro 1
sl@0
     5
 *	on the Macintosh. With 8-byte doubles turned on, the definitions of
sl@0
     6
 *	sin, cos, acos, etc., are screwed up.  They are fine as long as
sl@0
     7
 *	they are used as function calls, but if the function pointers
sl@0
     8
 *	are passed around and used, they will crash hard on the 68K.
sl@0
     9
 *
sl@0
    10
 * Copyright (c) 1997 Sun Microsystems, Inc.
sl@0
    11
 *
sl@0
    12
 * See the file "license.terms" for information on usage and redistribution
sl@0
    13
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
sl@0
    14
 *
sl@0
    15
 * RCS: @(#) $Id: tclMath.h,v 1.2 1998/09/14 18:40:01 stanton Exp $
sl@0
    16
 */
sl@0
    17
sl@0
    18
#ifndef _TCLMATH
sl@0
    19
#define _TCLMATH
sl@0
    20
sl@0
    21
#if defined(MAC_TCL)
sl@0
    22
#   include "tclMacMath.h"
sl@0
    23
#else
sl@0
    24
#   include <math.h>
sl@0
    25
#endif
sl@0
    26
sl@0
    27
#endif /* _TCLMATH */