summaryrefslogtreecommitdiff
path: root/compiler/cbits
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cbits')
-rw-r--r--compiler/cbits/genSym.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cbits/genSym.c b/compiler/cbits/genSym.c
index 4af39408ed..6943ab15d6 100644
--- a/compiler/cbits/genSym.c
+++ b/compiler/cbits/genSym.c
@@ -5,6 +5,7 @@
static HsInt GenSymCounter = 0;
static HsInt GenSymInc = 1;
+#define UNIQUE_BITS (sizeof (HsInt) * 8 - UNIQUE_TAG_BITS)
#define UNIQUE_MASK ((1ULL << UNIQUE_BITS) - 1)
STATIC_INLINE void checkUniqueRange(HsInt u STG_UNUSED) {