diff options
Diffstat (limited to 'tools/bugpoint/ToolRunner.cpp')
-rw-r--r-- | tools/bugpoint/ToolRunner.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index dfb65cb0e7..53a3feb7a9 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -604,6 +604,11 @@ CBE *AbstractInterpreter::createCBE(const char *Argv0, // GCC abstraction // +#ifdef _MSC_VER +#define strcasecmp(s1, s2) _stricmp(s1, s2) +#define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) +#endif + static bool IsARMArchitecture(std::vector<std::string> Args) { |