From 58731a01e24f3adb603749f7bf5b69356a5cb7e2 Mon Sep 17 00:00:00 2001 From: James Turner <zakalawe@mac.com> Date: Thu, 9 Jun 2016 16:20:25 +0100 Subject: [PATCH] Special case this define --- src/Main/options.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 77cba345c..fe4b38361 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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>