rustllvm: define LLVM_VERSION_LT
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user