summaryrefslogtreecommitdiffstats
path: root/atc/def.h
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-09-11 12:53:28 +0000
committerhubertf <hubertf@NetBSD.org>1998-09-11 12:53:28 +0000
commitec5e11d622b04da62c04add1a34d40ba101d6d56 (patch)
tree04f3fc12ada2965b5a943d5183d561b6e3a54fa1 /atc/def.h
parent3039b8f2001e9a8bd5c172aa9de1a903e8746b18 (diff)
downloadbsdgames-darwin-ec5e11d622b04da62c04add1a34d40ba101d6d56.tar.gz
bsdgames-darwin-ec5e11d622b04da62c04add1a34d40ba101d6d56.tar.zst
bsdgames-darwin-ec5e11d622b04da62c04add1a34d40ba101d6d56.zip
better define PI, plus improve prototype (PR#5867)
Diffstat (limited to 'atc/def.h')
-rw-r--r--atc/def.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/atc/def.h b/atc/def.h
index 1290a30e..f9f6aad9 100644
--- a/atc/def.h
+++ b/atc/def.h
@@ -1,4 +1,4 @@
-/* $NetBSD: def.h,v 1.3 1995/03/21 15:03:47 cgd Exp $ */
+/* $NetBSD: def.h,v 1.4 1998/09/11 12:53:28 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -49,7 +49,9 @@
#define AUTHOR_STR "ATC - by Ed James"
-#define PI 3.14159654
+#ifndef PI
+#define PI 3.14159265358979323846
+#endif
#define LOWFUEL 15