diff options
author | das <das> | 2008-11-22 22:28:52 (GMT) |
---|---|---|
committer | das <das> | 2008-11-22 22:28:52 (GMT) |
commit | 16a90b0ad5d67f062cc20264b4c01f99c8ace41b (patch) | |
tree | 27a65a146e2881108cca521f939141a30c72d285 /generic/tkInt.h | |
parent | 35e63c6193fc1f4a7f4c98a9484c47f95fdfeaf1 (diff) | |
download | tk-16a90b0ad5d67f062cc20264b4c01f99c8ace41b.zip tk-16a90b0ad5d67f062cc20264b4c01f99c8ace41b.tar.gz tk-16a90b0ad5d67f062cc20264b4c01f99c8ace41b.tar.bz2 |
use M_PI when available, remove redundant definitions of PI
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 5fe85e1..3a1094f 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: $Id: tkInt.h,v 1.93 2008/11/22 18:08:51 dkf Exp $ + * RCS: $Id: tkInt.h,v 1.94 2008/11/22 22:28:52 das Exp $ */ #ifndef _TKINT @@ -962,8 +962,12 @@ MODULE_SCOPE Tcl_HashTable tkPredefBitmapTable; */ #ifndef PI +#ifdef M_PI +#define PI M_PI +#else #define PI 3.14159265358979323846 #endif +#endif /* * Exported internals. |