From 26e5eed58a0ecb3934e5a1b7a033b1fd778e9048 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 22 Apr 2013 11:24:48 -0400 Subject: fix osx build --- Assistant/Install/Menu.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Assistant') diff --git a/Assistant/Install/Menu.hs b/Assistant/Install/Menu.hs index 14c62245a..cb9b76ba6 100644 --- a/Assistant/Install/Menu.hs +++ b/Assistant/Install/Menu.hs @@ -12,8 +12,10 @@ module Assistant.Install.Menu where import Utility.FreeDesktop installMenu :: FilePath -> FilePath -> IO () -installMenu command file = do -#ifndef darwin_HOST_OS +installMenu command file = +#ifdef darwin_HOST_OS + return () +#else writeDesktopMenuFile (fdoDesktopMenu command) file #endif -- cgit v1.2.3