Mercurial > projects > ldc
changeset 541:4b7925bc1605
Fixed some osx mistakes.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 24 Aug 2008 17:19:31 +0200 |
parents | 9312024a7053 |
children | 1e9ca2889b07 |
files | dmd/mars.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dmd/mars.c Sun Aug 24 17:13:40 2008 +0200 +++ b/dmd/mars.c Sun Aug 24 17:19:31 2008 +0200 @@ -314,7 +314,7 @@ global.params.os = OSWindows; #elif linux global.params.os = OSLinux; -#elif __APPLY__ +#elif __APPLE__ global.params.os = OSMacOSX; #else #error @@ -759,6 +759,7 @@ case OSMacOSX: VersionCondition::addPredefinedGlobalIdent("darwin"); + VersionCondition::addPredefinedGlobalIdent("Posix"); global.params.tt_os = "-pc-darwin-gnu"; default: