summaryrefslogtreecommitdiff
path: root/extra/llvm12/llvm-config.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-11-14 18:45:26 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-11-14 18:45:26 +0100
commit990b229364cf9eaf401ee17cbd8d6c4981d522eb (patch)
treee55e83b315256a771f51908cf0ec0c95f87d6fcf /extra/llvm12/llvm-config.h
parentc205ac4aa24e1241bf2905aa82ffe600502a59e6 (diff)
downloadpackages-990b229364cf9eaf401ee17cbd8d6c4981d522eb.tar.xz
extra/llvm12: added shim (for rust)
Diffstat (limited to 'extra/llvm12/llvm-config.h')
-rw-r--r--extra/llvm12/llvm-config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/llvm12/llvm-config.h b/extra/llvm12/llvm-config.h
new file mode 100644
index 00000000..2fa08c9b
--- /dev/null
+++ b/extra/llvm12/llvm-config.h
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "llvm-config-32.h"
+#elif __WORDSIZE == 64
+#include "llvm-config-64.h"
+#else
+#error "Unknown word size"
+#endif