#if .. #if -> #if .. #elif .. :}

This commit is contained in:
Don Stewart 2005-05-21 05:21:28 +00:00
parent ea60e8fe89
commit 24113b6beb

View File

@ -353,7 +353,7 @@ classifyLdInput _ = return Nothing
-- TODO need to define a MAC/DARWIN symbol -- TODO need to define a MAC/DARWIN symbol
#if defined(darwin_TARGET_OS) #if defined(darwin_TARGET_OS)
mkSOName root = "lib" ++ root ++ ".dylib" mkSOName root = "lib" ++ root ++ ".dylib"
#if defined(CYGWIN) || defined(__MINGW32__) #elif defined(CYGWIN) || defined(__MINGW32__)
-- Win32 DLLs have no .dll extension here, because addDLL tries -- Win32 DLLs have no .dll extension here, because addDLL tries
-- both foo.dll and foo.drv -- both foo.dll and foo.drv
mkSOName root = root mkSOName root = root