projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
21551fc
)
fix CPP detection of Solaris in NCG
author
Karel Gardas
<karel.gardas@centrum.cz>
Fri, 17 Dec 2010 08:45:10 +0000
(08:45 +0000)
committer
Karel Gardas
<karel.gardas@centrum.cz>
Fri, 17 Dec 2010 08:45:10 +0000
(08:45 +0000)
compiler/nativeGen/Platform.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/Platform.hs
b/compiler/nativeGen/Platform.hs
index
6c6b124
..
023d9ac
100644
(file)
--- a/
compiler/nativeGen/Platform.hs
+++ b/
compiler/nativeGen/Platform.hs
@@
-46,7
+46,7
@@
data OS
= OSUnknown
| OSLinux
| OSDarwin
- | OSSolaris
+ | OSSolaris2
| OSMinGW32
| OSFreeBSD
| OSOpenBSD
@@
-92,8
+92,8
@@
defaultTargetOS :: OS
defaultTargetOS = OSLinux
#elif darwin_TARGET_OS
defaultTargetOS = OSDarwin
-#elif solaris_TARGET_OS
-defaultTargetOS = OSSolaris
+#elif solaris2_TARGET_OS
+defaultTargetOS = OSSolaris2
#elif mingw32_TARGET_OS
defaultTargetOS = OSMinGW32
#elif freebsd_TARGET_OS