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
fb18c563
Commit
fb18c563
authored
Dec 17, 2010
by
kgardas
Browse files
fix CPP detection of Solaris in NCG
parent
21551fcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/nativeGen/Platform.hs
View file @
fb18c563
...
...
@@ -46,7 +46,7 @@ data OS
=
OSUnknown
|
OSLinux
|
OSDarwin
|
OSSolaris
|
OSSolaris
2
|
OSMinGW32
|
OSFreeBSD
|
OSOpenBSD
...
...
@@ -92,8 +92,8 @@ defaultTargetOS :: OS
defaultTargetOS
=
OSLinux
#
elif
darwin_TARGET_OS
defaultTargetOS
=
OSDarwin
#
elif
solaris_TARGET_OS
defaultTargetOS
=
OSSolaris
#
elif
solaris
2
_TARGET_OS
defaultTargetOS
=
OSSolaris
2
#
elif
mingw32_TARGET_OS
defaultTargetOS
=
OSMinGW32
#
elif
freebsd_TARGET_OS
...
...
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