]> git.mxchange.org Git - flightgear.git/blobdiff - LaRCsim/ls_constants.h
Moved fiddled with PI to avoid compiler warnings.
[flightgear.git] / LaRCsim / ls_constants.h
index 3e90aab584337f1fb1a83640c1692f7d7295b910..bdd123d86a90c5877ee814325b47c49e5961e73d 100644 (file)
@@ -80,6 +80,9 @@
        systems of measure)     */
 
 /* Value of Pi from ref [3] */
+#ifdef PI
+#  undef PI /* avoid a harmless compiler warning */
+#endif
 #define        PI 3.14159265358979323846264338327950288419716939967511
 
 /* Value of earth radius from [8], ft */