From 1579c98d4de8b40129d5f40fd6848ee3a0be0614 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 22 Apr 2013 11:24:48 -0400 Subject: [PATCH] fix osx build --- Assistant/Install/Menu.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assistant/Install/Menu.hs b/Assistant/Install/Menu.hs index 14c62245a9..cb9b76ba67 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