diff options
Diffstat (limited to 'games/pom/pom.c')
-rw-r--r-- | games/pom/pom.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/pom/pom.c b/games/pom/pom.c index d56932e..26cd9e4 100644 --- a/games/pom/pom.c +++ b/games/pom/pom.c @@ -57,7 +57,9 @@ static const char sccsid[] = "@(#)pom.c 8.1 (Berkeley) 5/31/93"; #include <stdio.h> #include <math.h> -#define PI 3.141592654 +#ifndef PI +#define PI 3.14159265358979323846 +#endif #define EPOCH 85 #define EPSILONg 279.611371 /* solar ecliptic long at EPOCH */ #define RHOg 282.680403 /* solar ecliptic long of perigee at EPOCH */ |