Commit 6b01bd9d authored by sof's avatar sof
Browse files

[project @ 1999-02-17 10:48:06 by sof]

Define __HASKELL98__
parent 268cbd96
...@@ -379,6 +379,7 @@ $Haskell1Version = 5; # i.e., Haskell 1.4 ...@@ -379,6 +379,7 @@ $Haskell1Version = 5; # i.e., Haskell 1.4
@HsSourceCppOpts = @HsSourceCppOpts =
( "-D__HASKELL1__=$Haskell1Version" ( "-D__HASKELL1__=$Haskell1Version"
, "-D__GLASGOW_HASKELL__=$ProjectVersionInt" , "-D__GLASGOW_HASKELL__=$ProjectVersionInt"
, "-D__HASKELL98__"
# not yet -- SDM # not yet -- SDM
# , "-D__CONCURRENT_HASKELL__" # , "-D__CONCURRENT_HASKELL__"
); );
...@@ -2079,6 +2080,8 @@ sub runGcc { ...@@ -2079,6 +2080,8 @@ sub runGcc {
local($c_flags) = "@CcBoth_flags"; local($c_flags) = "@CcBoth_flags";
local($ddebug_flag) = ( $DEBUGging ) ? '-DDEBUG' : ''; local($ddebug_flag) = ( $DEBUGging ) ? '-DDEBUG' : '';
$c_flags .= "-mno-cygwin" if ( $TargetPlatform =~ /-mingw32$/ );
# "input" files to use that are not in some weird directory; # "input" files to use that are not in some weird directory;
# to help C compilers grok .hc files [ToDo: de-hackify] # to help C compilers grok .hc files [ToDo: de-hackify]
local($cc_help) = "ghc$$.c"; local($cc_help) = "ghc$$.c";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment