Hi tech@,

M_PI is always defined, so we can drop those directives.

Index: games/atc/def.h
===================================================================
RCS file: /cvs/src/games/atc/def.h,v
retrieving revision 1.5
diff -u -p -r1.5 def.h
--- games/atc/def.h     3 Jun 2003 03:01:38 -0000       1.5
+++ games/atc/def.h     1 Dec 2016 13:39:53 -0000
@@ -46,10 +46,6 @@
 
 #define AUTHOR_STR             "ATC - by Ed James"
 
-#ifndef M_PI
-#define M_PI                   3.14159265358979323846
-#endif
-
 #define LOWFUEL                        15
 
 #define REALLOC                        10
Index: games/pom/pom.c
===================================================================
RCS file: /cvs/src/games/pom/pom.c,v
retrieving revision 1.24
diff -u -p -r1.24 pom.c
--- games/pom/pom.c     11 Sep 2016 14:21:18 -0000      1.24
+++ games/pom/pom.c     1 Dec 2016 13:39:54 -0000
@@ -54,10 +54,6 @@
 #include <time.h>
 #include <unistd.h>
 
-#ifndef M_PI
-#define        M_PI      3.14159265358979323846
-#endif
-
 #define        EPOCH     90
 #define        EPSILONg  279.403303    /* solar ecliptic long at EPOCH */
 #define        RHOg      282.768422    /* solar ecliptic long of perigee at 
EPOCH */

Reply via email to