mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-24 00:33:12 +01:00
Fix LLVM 3.3 build.
Again, the stricmp define in llvm/config.h caused an error.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user