about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2012-06-19 14:42:46 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2012-06-19 14:42:46 +0000
commit0b72d4e2102f55b2d38e9b4e9912c0eb3710ba54 (patch)
tree80e4b3dbc855de46cd4390132b22aaccb5ad121d /include
parent87d1428fb69c6c278ed2eb663cebdfb7c4c6d859 (diff)
downloadklee-0b72d4e2102f55b2d38e9b4e9912c0eb3710ba54.tar.gz
Patch by Seungbeom Kim for compatibility with old LLVM 2.6.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@158721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/klee/Internal/Module/KInstruction.h2
-rw-r--r--include/klee/Statistic.h2
-rw-r--r--include/klee/util/Bits.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/klee/Internal/Module/KInstruction.h b/include/klee/Internal/Module/KInstruction.h
index c96d103b..20db560d 100644
--- a/include/klee/Internal/Module/KInstruction.h
+++ b/include/klee/Internal/Module/KInstruction.h
@@ -11,7 +11,7 @@
 #define KLEE_KINSTRUCTION_H
 
 #include "klee/Config/Version.h"
-#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9)
+#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9) && LLVM_VERSION_CODE >= LLVM_VERSION(2, 7)
 #include "llvm/System/DataTypes.h"
 #else
 #include "llvm/Support/DataTypes.h"
diff --git a/include/klee/Statistic.h b/include/klee/Statistic.h
index f567f680..1e5b1c92 100644
--- a/include/klee/Statistic.h
+++ b/include/klee/Statistic.h
@@ -11,7 +11,7 @@
 #define KLEE_STATISTIC_H
 
 #include "klee/Config/Version.h"
-#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9)
+#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9) && LLVM_VERSION_CODE >= LLVM_VERSION(2, 7)
 #include "llvm/System/DataTypes.h"
 #else
 #include "llvm/Support/DataTypes.h"
diff --git a/include/klee/util/Bits.h b/include/klee/util/Bits.h
index f2bb7692..aa78e534 100644
--- a/include/klee/util/Bits.h
+++ b/include/klee/util/Bits.h
@@ -11,7 +11,7 @@
 #define KLEE_UTIL_BITS_H
 
 #include "klee/Config/Version.h"
-#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9)
+#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9) && LLVM_VERSION_CODE >= LLVM_VERSION(2, 7)
 #include "llvm/System/DataTypes.h"
 #else
 #include "llvm/Support/DataTypes.h"