Add -DMACOSX

This commit is contained in:
Don Stewart
2005-05-21 05:48:53 +00:00
parent f488031d81
commit 685ba637b6
3 changed files with 3 additions and 1 deletions

View File

@ -351,7 +351,7 @@ classifyLdInput ('-':'L':path) = return (Just (DLLPath path))
classifyLdInput _ = return Nothing
-- TODO need to define a MAC/DARWIN symbol
#if defined(darwin_TARGET_OS)
#if defined(MACOSX)
mkSOName root = "lib" ++ root ++ ".dylib"
#elif defined(CYGWIN) || defined(__MINGW32__)
-- Win32 DLLs have no .dll extension here, because addDLL tries