diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2017-06-07 13:32:53 +0200 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2017-06-12 17:07:05 +0100 |
commit | 6204a1faed8f6ed15318be8da3e8e4b5e2f2a4ac (patch) | |
tree | fa1d9d9a149cbfa496f26f133e3b44535e729ace /include | |
parent | 5289c6135b7baef600257c614ef52f9af10a22e4 (diff) | |
download | klee-6204a1faed8f6ed15318be8da3e8e4b5e2f2a4ac.tar.gz |
llvm: don't use clEnumValEnd for LLVM 4.0
It became unnecessary when defining options and mainly undefined. So introduce KLEE_LLVM_CL_VAL_END as suggested by @delcypher. Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/Config/Version.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/klee/Config/Version.h b/include/klee/Config/Version.h index ea2af961..c1fdbb97 100644 --- a/include/klee/Config/Version.h +++ b/include/klee/Config/Version.h @@ -21,4 +21,10 @@ # define LLVM_TYPE_Q const #endif +#if LLVM_VERSION_CODE >= LLVM_VERSION(4, 0) +# define KLEE_LLVM_CL_VAL_END +#else +# define KLEE_LLVM_CL_VAL_END , clEnumValEnd +#endif + #endif |