From bb66763bea2d6553ee91ca688b036860d545260a Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Fri, 10 Apr 1998 14:38:47 +0000
Subject: [PATCH] [project @ 1998-04-10 14:38:47 by simonm] '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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ghc/tests/codeGen/should_run/cg035.hs b/ghc/tests/codeGen/should_run/cg035.hs
index 9ac75fc5af89..1b4c93085ba5 100644
--- 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 )
-- 
GitLab