]> git.mxchange.org Git - simgear.git/blobdiff - simgear/nasal/mathlib.c
Clamp pitch values rather than just dumping an error message.
[simgear.git] / simgear / nasal / mathlib.c
index 07f8ef81dba63f056899fea113cde5930dc114bf..d967ceedd3cffc66d2e6ac6f3511799ca99e7c45 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef _MSC_VER
+#define _USE_MATH_DEFINES
+#endif
+
 #include <math.h>
 #include <string.h>