]> git.mxchange.org Git - flightgear.git/commitdiff
Special case this define
authorJames Turner <zakalawe@mac.com>
Thu, 9 Jun 2016 15:20:25 +0000 (16:20 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:36 +0000 (23:27 +0200)
src/Main/options.cxx

index 77cba345cb36dd7247fbd0199a789f8950ea9c84..fe4b383613fe1561c541b0bad3fb2aebefccc520 100644 (file)
@@ -334,6 +334,10 @@ private:
         return 0;
     }
     
+#ifdef _MSC_VER
+       #define strcasecmp stricmp
+#endif
+
     // recommended in Meyers, Effective STL when internationalization and embedded
     // NULLs aren't an issue.  Much faster than the STL or Boost lex versions.
     struct ciLessLibC : public std::binary_function<string, string, bool>