summaryrefslogtreecommitdiffstats
path: root/generic/tkTrig.c
diff options
context:
space:
mode:
authordas <das>2008-11-22 22:28:52 (GMT)
committerdas <das>2008-11-22 22:28:52 (GMT)
commit16a90b0ad5d67f062cc20264b4c01f99c8ace41b (patch)
tree27a65a146e2881108cca521f939141a30c72d285 /generic/tkTrig.c
parent35e63c6193fc1f4a7f4c98a9484c47f95fdfeaf1 (diff)
downloadtk-16a90b0ad5d67f062cc20264b4c01f99c8ace41b.zip
tk-16a90b0ad5d67f062cc20264b4c01f99c8ace41b.tar.gz
tk-16a90b0ad5d67f062cc20264b4c01f99c8ace41b.tar.bz2
use M_PI when available, remove redundant definitions of PI
Diffstat (limited to 'generic/tkTrig.c')
-rw-r--r--generic/tkTrig.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/generic/tkTrig.c b/generic/tkTrig.c
index f7c2ffb..dc40049 100644
--- a/generic/tkTrig.c
+++ b/generic/tkTrig.c
@@ -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: tkTrig.c,v 1.10 2007/12/13 15:24:21 dgp Exp $
+ * RCS: @(#) $Id: tkTrig.c,v 1.11 2008/11/22 22:28:52 das Exp $
*/
#include <stdio.h>
@@ -22,9 +22,6 @@
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#undef MAX
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
-#ifndef PI
-# define PI 3.14159265358979323846
-#endif /* PI */
/*
*--------------------------------------------------------------