summaryrefslogtreecommitdiff
path: root/extra/llvm12/llvm-config.h
diff options
context:
space:
mode:
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