Patch for shared libraries support on FreeBSD
[ghc-hetmet.git] / compiler / nativeGen / X86 / Ppr.hs
index c0f4657..89bbb5d 100644 (file)
@@ -115,7 +115,7 @@ pprGloblDecl lbl
                pprCLabel_asm lbl
 
 pprTypeAndSizeDecl :: CLabel -> Doc
-#if linux_TARGET_OS
+#if elf_OBJ_FORMAT
 pprTypeAndSizeDecl lbl
   | not (externallyVisibleCLabel lbl) = empty
   | otherwise = ptext (sLit ".type ") <>