rustllvm: define LLVM_VERSION_LT
This commit is contained in:
parent
1edbc3df0d
commit
c9787296f8
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@
|
||||||
(LLVM_VERSION_MAJOR < (major) || \
|
(LLVM_VERSION_MAJOR < (major) || \
|
||||||
LLVM_VERSION_MAJOR == (major) && LLVM_VERSION_MINOR <= (minor))
|
LLVM_VERSION_MAJOR == (major) && LLVM_VERSION_MINOR <= (minor))
|
||||||
|
|
||||||
|
#define LLVM_VERSION_LT(major, minor) (!LLVM_VERSION_GE((major), (minor)))
|
||||||
|
|
||||||
#if LLVM_VERSION_GE(3, 7)
|
#if LLVM_VERSION_GE(3, 7)
|
||||||
#include "llvm/IR/LegacyPassManager.h"
|
#include "llvm/IR/LegacyPassManager.h"
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue