Skip to content

Commit

Permalink
Add LibLLVM::IS_50 constant (#5058)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija authored and RX14 committed Sep 29, 2017
1 parent 8c5fb21 commit 7e3b642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/llvm/lib_llvm.cr
Expand Up @@ -29,6 +29,7 @@ end

{% begin %}
lib LibLLVM
IS_50 = {{LibLLVM::VERSION.starts_with?("5.0")}}
IS_40 = {{LibLLVM::VERSION.starts_with?("4.0")}}
IS_39 = {{LibLLVM::VERSION.starts_with?("3.9")}}
IS_38 = {{LibLLVM::VERSION.starts_with?("3.8")}}
Expand Down

0 comments on commit 7e3b642

Please sign in to comment.