summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-04 16:23:54 -0400
committerBen Gamari <ben@smart-cactus.org>2019-10-07 10:50:53 -0400
commite6cc3c0b9a5cf7b09b443978ab04402cabc56c04 (patch)
treee82ac7e62601259785f57b93286b54c0d4005406
parent79745207a373fe258035c015e8992cfd0fa9dab7 (diff)
downloadhaskell-e6cc3c0b9a5cf7b09b443978ab04402cabc56c04.tar.gz
Remove GHC_STAGE guards from MachDeps
This allows the stage1 compiler (which needs to run on the build platform and produce code for the host) to depend upon properties of the target. This is wrong. However, it's no more wrong than it was previously and @Erichson2314 is working on fixing this so I'm going to remove the guard so we can finally bootstrap HEAD with ghc-8.8 (see issue #17146).
-rw-r--r--includes/MachDeps.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/MachDeps.h b/includes/MachDeps.h
index 5160e381e0..81d6641dff 100644
--- a/includes/MachDeps.h
+++ b/includes/MachDeps.h
@@ -38,7 +38,6 @@
*
* Hence we hide these macros from GHC_STAGE=1
*/
-#if !defined(GHC_STAGE) || GHC_STAGE >= 2
/* Sizes of C types come from here... */
#include "ghcautoconf.h"
@@ -120,4 +119,3 @@
#define TAG_MASK ((1 << TAG_BITS) - 1)
-#endif /* !defined(GHC_STAGE) || GHC_STAGE >= 2 */