diff options
author | Karel Gardas <karel.gardas@centrum.cz> | 2010-12-17 08:45:10 +0000 |
---|---|---|
committer | Karel Gardas <karel.gardas@centrum.cz> | 2010-12-17 08:45:10 +0000 |
commit | fb18c56348c620cc75b129d190dff584392470cb (patch) | |
tree | 134f23442dbdc6bff03b3c1ac5185249652a8d83 /compiler/nativeGen | |
parent | 21551fcf98da2c80972df829428ae80209d87cb8 (diff) | |
download | haskell-fb18c56348c620cc75b129d190dff584392470cb.tar.gz |
fix CPP detection of Solaris in NCG
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r-- | compiler/nativeGen/Platform.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/nativeGen/Platform.hs b/compiler/nativeGen/Platform.hs index 6c6b124a15..023d9acfdb 100644 --- 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 |