]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compiler.h
Fix line endings
[simgear.git] / simgear / compiler.h
index 939d9f319c6ad18b2942f7125ebd7fc6504688e4..6a9ec5d84587f6ada8228eabfb6b6db83cf1e5ba 100644 (file)
 #      define vsnprintf _vsnprintf
 #    endif
 #    define copysign _copysign
+#    define strcasecmp stricmp
+
+#    undef min
+#    undef max
 
 #    pragma warning(disable: 4786) // identifier was truncated to '255' characters
 #    pragma warning(disable: 4244) // conversion from double to float
@@ -150,6 +154,7 @@ inline int (isnan)(double r) { return !(r <= 0 || r >= 0); }
 #endif
 
 #if defined (__FreeBSD__)
+#include <sys/param.h>
 #  if __FreeBSD_version < 500000
      extern "C" {
        inline int isnan(double r) { return !(r <= 0 || r >= 0); }