summaryrefslogtreecommitdiffstats
path: root/pom/pom.c
diff options
context:
space:
mode:
Diffstat (limited to 'pom/pom.c')
-rw-r--r--pom/pom.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/pom/pom.c b/pom/pom.c
index 6c30a70b..050c937a 100644
--- a/pom/pom.c
+++ b/pom/pom.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pom.c,v 1.10 1998/07/25 10:36:54 hubertf Exp $ */
+/* $NetBSD: pom.c,v 1.11 1998/09/11 14:07:04 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -45,7 +45,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)pom.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pom.c,v 1.10 1998/07/25 10:36:54 hubertf Exp $");
+__RCSID("$NetBSD: pom.c,v 1.11 1998/09/11 14:07:04 hubertf Exp $");
#endif
#endif /* not lint */
@@ -68,7 +68,9 @@ __RCSID("$NetBSD: pom.c,v 1.10 1998/07/25 10:36:54 hubertf Exp $");
#include <stdlib.h>
#include <tzfile.h>
-#define PI 3.141592654
+#ifndef PI
+#define PI 3.14159265358979323846
+#endif
#define EPOCH 85 /* really 1985 */
#define EPSILONg 279.611371 /* solar ecliptic long at EPOCH */
#define RHOg 282.680403 /* solar ecliptic long of perigee at EPOCH */