summaryrefslogtreecommitdiff
path: root/compiler/ghc-llvm-version.h.in
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-10-27 04:06:46 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-05 20:25:32 -0400
commit3645abac01b634b61b2ea2508ba67e88ef9ee219 (patch)
tree0274f7f1fdcb328e76a531a3ec25e357c5bc8188 /compiler/ghc-llvm-version.h.in
parentd96ce59dc86799f0cf07da2ce5a55b189a50c130 (diff)
downloadhaskell-3645abac01b634b61b2ea2508ba67e88ef9ee219.tar.gz
Avoid GHC_STAGE and other include bits
We should strive to make our includes in terms of the RTS as much as possible. One place there that is not possible, the llvm version, we make a new tiny header Stage numbers are somewhat arbitrary, if we simple need a newer RTS, we should say so.
Diffstat (limited to 'compiler/ghc-llvm-version.h.in')
-rw-r--r--compiler/ghc-llvm-version.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler/ghc-llvm-version.h.in b/compiler/ghc-llvm-version.h.in
new file mode 100644
index 0000000000..241ce53e32
--- /dev/null
+++ b/compiler/ghc-llvm-version.h.in
@@ -0,0 +1,12 @@
+#if !defined(__GHC_LLVM_VERSION_H__)
+#define __GHC_LLVM_VERSION_H__
+
+/* The maximum supported LLVM version number */
+#undef sUPPORTED_LLVM_VERSION_MAX
+
+/* The minimum supported LLVM version number */
+#undef sUPPORTED_LLVM_VERSION_MIN
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#undef size_t
+#endif /* __GHC_LLVM_VERSION_H__ */