summaryrefslogtreecommitdiffstats
path: root/win/tkWinDraw.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 20:05:32 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 20:05:32 (GMT)
commitd018f5251d22906500e7f6b867ba151fdd4f589d (patch)
tree4c1f685abe81acb723e581ebb1a54635f639a27b /win/tkWinDraw.c
parent08d210474dcf15c239160ca885bd7799ac618787 (diff)
downloadtk-d018f5251d22906500e7f6b867ba151fdd4f589d.zip
tk-d018f5251d22906500e7f6b867ba151fdd4f589d.tar.gz
tk-d018f5251d22906500e7f6b867ba151fdd4f589d.tar.bz2
Fixed up complaints from MSVC engendered by the last commit. In particular replaced round() which is a C99 function.
Diffstat (limited to 'win/tkWinDraw.c')
-rw-r--r--win/tkWinDraw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tkWinDraw.c b/win/tkWinDraw.c
index 15821f3..9d1a7cd 100644
--- a/win/tkWinDraw.c
+++ b/win/tkWinDraw.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinDraw.c,v 1.22 2008/11/08 18:44:40 dkf Exp $
+ * RCS: @(#) $Id: tkWinDraw.c,v 1.23 2008/11/22 20:05:32 patthoyts Exp $
*/
#include "tkWinInt.h"
@@ -19,7 +19,6 @@
* These macros convert between X's bizarre angle units to radians.
*/
-#define PI 3.14159265358979
#define XAngleToRadians(a) ((double)(a) / 64 * PI / 180);
/*