Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
6b01bd9d
Commit
6b01bd9d
authored
Feb 17, 1999
by
sof
Browse files
[project @ 1999-02-17 10:48:06 by sof]
Define __HASKELL98__
parent
268cbd96
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/driver/ghc.lprl
View file @
6b01bd9d
...
...
@@ -379,6 +379,7 @@ $Haskell1Version = 5; # i.e., Haskell 1.4
@HsSourceCppOpts =
( "-D__HASKELL1__=$Haskell1Version"
, "-D__GLASGOW_HASKELL__=$ProjectVersionInt"
, "-D__HASKELL98__"
# not yet -- SDM
# , "-D__CONCURRENT_HASKELL__"
);
...
...
@@ -2079,6 +2080,8 @@ sub runGcc {
local($c_flags) = "@CcBoth_flags";
local($ddebug_flag) = ( $DEBUGging ) ? '-DDEBUG' : '';
$c_flags .= "-mno-cygwin" if ( $TargetPlatform =~ /-mingw32$/ );
# "input" files to use that are not in some weird directory;
# to help C compilers grok .hc files [ToDo: de-hackify]
local($cc_help) = "ghc$$.c";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment