summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-10 13:14:45 +0100
committerIan Lynagh <ian@well-typed.com>2012-09-10 13:14:45 +0100
commitda5b7ba335e2f440347dd548351f43f83e8f245e (patch)
treea075c53ddd37cb63d5cbbee5b784d35cbf75a757 /compiler/utils
parentc85539630eef593061ac223c18d248355f78a921 (diff)
downloadhaskell-da5b7ba335e2f440347dd548351f43f83e8f245e.tar.gz
Remove some more CPP
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/Platform.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/utils/Platform.hs b/compiler/utils/Platform.hs
index b53ece9182..a562b4f6f9 100644
--- a/compiler/utils/Platform.hs
+++ b/compiler/utils/Platform.hs
@@ -65,6 +65,7 @@ data OS
| OSNetBSD
| OSKFreeBSD
| OSHaiku
+ | OSOsf3
deriving (Read, Show, Eq)
-- | ARM Instruction Set Architecture, Extensions and ABI
@@ -104,8 +105,11 @@ osElfTarget OSDarwin = False
osElfTarget OSMinGW32 = False
osElfTarget OSKFreeBSD = True
osElfTarget OSHaiku = True
+osElfTarget OSOsf3 = False -- I don't know if this is right, but as
+ -- per comment below it's safe
osElfTarget OSUnknown = False
-- Defaulting to False is safe; it means don't rely on any
-- ELF-specific functionality. It is important to have a default for
-- portability, otherwise we have to answer this question for every
-- new platform we compile on (even unreg).
+