]> git.mxchange.org Git - flightgear.git/blobdiff - LaRCsim/ls_constants.h
Changed #ifdef FILE_H to #ifdef _FILE_H
[flightgear.git] / LaRCsim / ls_constants.h
index 3e90aab584337f1fb1a83640c1692f7d7295b910..2393f4c5dc6b7dd232665bc63f432ed5f4b9d0ba 100644 (file)
 
 --------------------------------------------------------------------------*/
 
+#ifndef _LS_CONSTANTS
+#define _LS_CONSTANTS
+
+
 #ifndef CONSTANTS
 
 #define CONSTANTS -1
@@ -80,6 +84,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 */
 
 #endif
 
+
+#endif /* _LS_CONSTANTS_H */
+
+
 /*------------------------- end of ls_constants.h -------------------------*/