Skip to content

Commit

Permalink
rustllvm: define LLVM_VERSION_LT
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNN committed Jul 21, 2017
1 parent 1edbc3d commit c978729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rustllvm/rustllvm.h
Expand Up @@ -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
Expand Down

0 comments on commit c978729

Please sign in to comment.