mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and aren't available on windows (mingw defines them though).
llvm-svn: 79417
This commit is contained in:
parent
914b41055a
commit
deadf72086
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user