Fix LLVM 3.3 build.

Again, the stricmp define in llvm/config.h caused an error.
This commit is contained in:
kai
2013-03-09 19:23:33 +01:00
parent d04864103e
commit 21563fa067
2 changed files with 6 additions and 2 deletions

View File

@@ -340,12 +340,12 @@ char *Port::strupr(char *s)
int Port::memicmp(const char *s1, const char *s2, int n)
{
return ::_memicmp(s1, s2, n);
return ::memicmp(s1, s2, n);
}
int Port::stricmp(const char *s1, const char *s2)
{
return ::_stricmp(s1, s2);
return ::stricmp(s1, s2);
}
#endif

View File

@@ -10,6 +10,10 @@
// Portable wrapper around compiler/system specific things.
// The idea is to minimize #ifdef's in the app code.
#if defined(IN_LLVM) && (LDC_LLVM_VER >= 303)
#include "llvm/Config/config.h"
#endif
#include "longdouble.h"
#if _MSC_VER