Commit fb18c563 authored by kgardas's avatar kgardas
Browse files

fix CPP detection of Solaris in NCG

parent 21551fcf
...@@ -46,7 +46,7 @@ data OS ...@@ -46,7 +46,7 @@ data OS
= OSUnknown = OSUnknown
| OSLinux | OSLinux
| OSDarwin | OSDarwin
| OSSolaris | OSSolaris2
| OSMinGW32 | OSMinGW32
| OSFreeBSD | OSFreeBSD
| OSOpenBSD | OSOpenBSD
...@@ -92,8 +92,8 @@ defaultTargetOS :: OS ...@@ -92,8 +92,8 @@ defaultTargetOS :: OS
defaultTargetOS = OSLinux defaultTargetOS = OSLinux
#elif darwin_TARGET_OS #elif darwin_TARGET_OS
defaultTargetOS = OSDarwin defaultTargetOS = OSDarwin
#elif solaris_TARGET_OS #elif solaris2_TARGET_OS
defaultTargetOS = OSSolaris defaultTargetOS = OSSolaris2
#elif mingw32_TARGET_OS #elif mingw32_TARGET_OS
defaultTargetOS = OSMinGW32 defaultTargetOS = OSMinGW32
#elif freebsd_TARGET_OS #elif freebsd_TARGET_OS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment