aboutsummaryrefslogtreecommitdiff
path: root/Utility/WebApp.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-29 14:49:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-29 14:49:15 -0400
commit5ae6c99b0b3a38e53c817bdc985226c90bcb7946 (patch)
tree483953085a78c65c9b228a503a9643b5b7d5b3e0 /Utility/WebApp.hs
parentfdfaf4ee920208c56d6239d254b5308fe38e5baa (diff)
let's not -DOSX, that results in unwanted mangling
Diffstat (limited to 'Utility/WebApp.hs')
-rw-r--r--Utility/WebApp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/WebApp.hs b/Utility/WebApp.hs
index 3a55bd74a..e11b3f411 100644
--- a/Utility/WebApp.hs
+++ b/Utility/WebApp.hs
@@ -44,7 +44,7 @@ localhost = "localhost"
runBrowser :: String -> IO Bool
runBrowser url = boolSystem cmd [Param url]
where
-#if OSX
+#ifdef darwin_HOST_OS
cmd = "open"
#else
cmd = "xdg-open"