diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-11-22 20:05:32 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-11-22 20:05:32 (GMT) |
commit | d018f5251d22906500e7f6b867ba151fdd4f589d (patch) | |
tree | 4c1f685abe81acb723e581ebb1a54635f639a27b /win/tkWinDraw.c | |
parent | 08d210474dcf15c239160ca885bd7799ac618787 (diff) | |
download | tk-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.c | 3 |
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); /* |