summaryrefslogtreecommitdiff
path: root/ghc/compiler/utils/FiniteMap.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/utils/FiniteMap.lhs')
-rw-r--r--ghc/compiler/utils/FiniteMap.lhs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/compiler/utils/FiniteMap.lhs b/ghc/compiler/utils/FiniteMap.lhs
index c95f0b4626..d8c59893f5 100644
--- a/ghc/compiler/utils/FiniteMap.lhs
+++ b/ghc/compiler/utils/FiniteMap.lhs
@@ -25,6 +25,10 @@ near the end (only \tr{#ifdef COMPILING_GHC}).
#define ASSERT(e) {--}
#define IF_NOT_GHC(a) a
#define COMMA ,
+#define _tagCmp compare
+#define _LT LT
+#define _GT GT
+#define _EQ EQ
#endif
#if defined(COMPILING_GHC) && defined(DEBUG_FINITEMAPS)/* NB NB NB */