projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
908d7c8
)
[project @ 1998-04-10 14:38:47 by simonm]
author
simonm
<unknown>
Fri, 10 Apr 1998 14:38:47 +0000
(14:38 +0000)
committer
simonm
<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
patch
|
blob
|
history
diff --git
a/ghc/tests/codeGen/should_run/cg035.hs
b/ghc/tests/codeGen/should_run/cg035.hs
index
9ac75fc
..
1b4c930
100644
(file)
--- a/
ghc/tests/codeGen/should_run/cg035.hs
+++ b/
ghc/tests/codeGen/should_run/cg035.hs
@@
-1,3
+1,5
@@
+{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
+
module Main (main) where
import IOExts ( unsafePerformIO )