aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-09-11 17:06:29 +0100
committergingerBill <bill@gingerbill.org>2021-09-11 17:06:29 +0100
commitc51c002ffafdb01901278e74b0c43954050617bd (patch)
tree21fb6e67f01cb0e907b581f2228fe6c86774d232 /src/llvm_backend.cpp
parenta5b4b735449413ae58e2213a75dd4356afb0e33d (diff)
Update Windows to LLVM 12.0.1
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp
index 5fff3c486..dad09f5cb 100644
--- a/src/llvm_backend.cpp
+++ b/src/llvm_backend.cpp
@@ -23,6 +23,8 @@
#if LLVM_VERSION_MAJOR < 11
#error "LLVM Version 11 is the minimum required"
+#elif LLVM_VERSION_MAJOR == 12 && !(LLVM_VERSION_MINOR > 0 || LLVM_VERSION_PATCH > 0)
+#error "If LLVM Version 12.x.y is wanted, at least LLVM 12.0.1 is required"
#endif