projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d68eea2
)
Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and aren't avail...
author
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 19 Aug 2009 12:16:17 +0000
(12:16 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 19 Aug 2009 12:16:17 +0000
(12:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79417
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/ToolRunner.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/ToolRunner.cpp
b/tools/bugpoint/ToolRunner.cpp
index dfb65cb0e724cf2004649895766d8f3f7d8f4101..53a3feb7a9c28cbda07440a34ee180ade22dfbfb 100644
(file)
--- 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)
{