summarylogtreecommitdiffstats
path: root/llvm-config.h
diff options
context:
space:
mode:
authorkevall4742021-04-20 22:37:26 -0400
committerkevall4742021-04-20 22:37:26 -0400
commit7f68b728204e6a48da0f20460e00dbc1be75f529 (patch)
tree6f38868a3d5725f8defff651f6ae5a55b3785785 /llvm-config.h
downloadaur-llvm-stable.tar.gz
first push
Diffstat (limited to 'llvm-config.h')
-rw-r--r--llvm-config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm-config.h b/llvm-config.h
new file mode 100644
index 000000000000..2fa08c9be696
--- /dev/null
+++ b/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