[project @ 2001-08-19 20:14:22 by sof]
[ghc-hetmet.git] / ghc / compiler / nativeGen / MachMisc.lhs
index 1f74715..d44cea4 100644 (file)
@@ -55,17 +55,13 @@ import Panic                ( panic )
 import GlaExts         ( word2Int#, int2Word#, shiftRL#, and#, (/=#) )
 import Outputable      ( pprPanic, ppr )
 import IOExts          ( trace )
+import Config           ( cLeadingUnderscore )
 import FastTypes
 \end{code}
 
 \begin{code}
 underscorePrefix :: Bool   -- leading underscore on assembler labels?
-
-#ifdef LEADING_UNDERSCORE
-underscorePrefix = True
-#else
-underscorePrefix = False
-#endif
+underscorePrefix = (cLeadingUnderscore == "YES")
 
 ---------------------------
 fmtAsmLbl :: String -> String  -- for formatting labels