summaryrefslogtreecommitdiff
path: root/extra/llvm/llvm-Config-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra/llvm/llvm-Config-config.h')
-rw-r--r--extra/llvm/llvm-Config-config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/llvm/llvm-Config-config.h b/extra/llvm/llvm-Config-config.h
new file mode 100644
index 000000000..c369b4551
--- /dev/null
+++ b/extra/llvm/llvm-Config-config.h
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "config-32.h"
+#elif __WORDSIZE == 64
+#include "config-64.h"
+#else
+#error "Unknown word size"
+#endif