lots of portability changes (#1405)
[ghc-hetmet.git] / compiler / utils / FiniteMap.lhs
index 8a041a8..b3dfb27 100644 (file)
@@ -18,11 +18,11 @@ The code is SPECIALIZEd to various highly-desirable types (e.g., Id)
 near the end.
 
 \begin{code}
-{-# OPTIONS_GHC -w #-}
+{-# OPTIONS -w #-}
 -- The above warning supression flag is a temporary kludge.
 -- While working on this module you are encouraged to remove it and fix
 -- any warnings in the module. See
---     http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+--     http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
 -- for details
 
 module FiniteMap (
@@ -679,7 +679,7 @@ When the FiniteMap module is used in GHC, we specialise it for
 \begin{code}
 #if 0
 
-#if __GLASGOW_HASKELL__
+#ifdef __GLASGOW_HASKELL__
 
 {-# SPECIALIZE addListToFM
                :: FiniteMap (FastString, FAST_STRING) elt -> [((FAST_STRING, FAST_STRING),elt)] -> FiniteMap (FAST_STRING, FAST_STRING) elt