rustllvm: define LLVM_VERSION_LT

This commit is contained in:
Tim Neumann 2017-07-21 13:13:37 +02:00
parent 1edbc3df0d
commit c9787296f8

View File

@ -55,6 +55,8 @@
(LLVM_VERSION_MAJOR < (major) || \
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)
#include "llvm/IR/LegacyPassManager.h"
#else