[project @ 1998-04-10 14:38:47 by simonm]
authorsimonm <unknown>
Fri, 10 Apr 1998 14:38:47 +0000 (14:38 +0000)
committersimonm <unknown>
Fri, 10 Apr 1998 14:38:47 +0000 (14:38 +0000)
'erf' isn't POSIX, so add

{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}

to make sure we get the proper prototype from <math.h>.

ghc/tests/codeGen/should_run/cg035.hs

index 9ac75fc..1b4c930 100644 (file)
@@ -1,3 +1,5 @@
+{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
+
 module Main (main) where
 
 import IOExts ( unsafePerformIO )