From fb18c56348c620cc75b129d190dff584392470cb Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Fri, 17 Dec 2010 08:45:10 +0000 Subject: [PATCH] fix CPP detection of Solaris in NCG --- compiler/nativeGen/Platform.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/nativeGen/Platform.hs b/compiler/nativeGen/Platform.hs index 6c6b124..023d9ac 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 -- 1.7.10.4