summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-04-09 11:58:45 +0100
committerIan Lynagh <ian@well-typed.com>2013-04-09 11:58:45 +0100
commit91a036fae63fb9b6fc346137b70745c63bc388e3 (patch)
treea5d747db6bb8290f7c50ee036ac1c8a938973b07 /compiler/utils
parent63f3bd8fe38cb377e31993ecee7362717b6894de (diff)
downloadhaskell-91a036fae63fb9b6fc346137b70745c63bc388e3.tar.gz
Remove some __HADDOCK__ CPP
I think these are all redundant, now that haddock uses the GHC API
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/FastString.lhs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/utils/FastString.lhs b/compiler/utils/FastString.lhs
index 1eeab0f561..36b1b1e63e 100644
--- a/compiler/utils/FastString.lhs
+++ b/compiler/utils/FastString.lhs
@@ -207,10 +207,8 @@ cmpFS f1@(FastString u1 _ _ _) f2@(FastString u2 _ _ _) =
if u1 == u2 then EQ else
compare (fastStringToByteString f1) (fastStringToByteString f2)
-#ifndef __HADDOCK__
foreign import ccall unsafe "ghc_memcmp"
memcmp :: Ptr a -> Ptr b -> Int -> IO Int
-#endif
-- -----------------------------------------------------------------------------
-- Construction