diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-08-20 23:14:05 +0100 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2014-09-16 08:29:05 -0700 |
commit | dc6cb3f8663b668547168aa663a67ff32ebd9e5e (patch) | |
tree | 1014c84a31adcddf60d89444023ca47def487d87 | |
parent | 21ab5307531fd291f5980b71b438221eb5c438fc (diff) | |
download | klee-dc6cb3f8663b668547168aa663a67ff32ebd9e5e.tar.gz |
Fix LLVM3.5 compilation a little more. ``Support/system_error.h``
was removed by r210803
-rw-r--r-- | tools/kleaver/main.cpp | 3 | ||||
-rw-r--r-- | tools/klee/main.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/kleaver/main.cpp b/tools/kleaver/main.cpp index b19e2ea6..f5c7c67a 100644 --- a/tools/kleaver/main.cpp +++ b/tools/kleaver/main.cpp @@ -33,7 +33,10 @@ #undef PACKAGE_VERSION #include "llvm/Support/Signals.h" + +#if LLVM_VERSION_CODE < LLVM_VERSION(3, 5) #include "llvm/Support/system_error.h" +#endif using namespace llvm; using namespace klee; diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index a7f2fbc6..4a80cb77 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -52,7 +52,10 @@ #include "llvm/Support/TargetSelect.h" #endif #include "llvm/Support/Signals.h" + +#if LLVM_VERSION_CODE < LLVM_VERSION(3, 5) #include "llvm/Support/system_error.h" +#endif #include <dirent.h> #include <signal.h> |