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:
a6c32f6
)
[project @ 1998-04-14 09:29:26 by simonm]
author
simonm
<unknown>
Tue, 14 Apr 1998 09:29:26 +0000
(09:29 +0000)
committer
simonm
<unknown>
Tue, 14 Apr 1998 09:29:26 +0000
(09:29 +0000)
add comment about why NON_POSIX_SOURCE is required.
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
1b4c930
..
7b7b7d0
100644
(file)
--- a/
ghc/tests/codeGen/should_run/cg035.hs
+++ b/
ghc/tests/codeGen/should_run/cg035.hs
@@
-1,5
+1,9
@@
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
+-- The above option is required because 'erf' isn't a POSIX function, and we
+-- need a prototype for it in order to compile the following code correctly.
+-- Defining NON_POSIX_SOURCE tells the RTS not to define _POSIX_SOURCE.
+
module Main (main) where
import IOExts ( unsafePerformIO )