Mercurial > projects > ldc
diff dmd/mars.c @ 909:52dad07846be
Port some LDC1 portability fixes to LDC2. Fixes #196.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 29 Jan 2009 17:19:48 +0100 |
parents | 177afbf5297b |
children | 7e272f2b4fc3 |
line wrap: on
line diff
--- a/dmd/mars.c Thu Jan 29 16:56:48 2009 +0100 +++ b/dmd/mars.c Thu Jan 29 17:19:48 2009 +0100 @@ -926,18 +926,18 @@ case OSMacOSX: VersionCondition::addPredefinedGlobalIdent("darwin"); - VersionCondition::addPredefinedGlobalIdent("Posix"); - break; + VersionCondition::addPredefinedGlobalIdent("Posix"); + break; case OSFreeBSD: - VersionCondition::addPredefinedGlobalIdent("freebsd"); - VersionCondition::addPredefinedGlobalIdent("Posix"); - break; + VersionCondition::addPredefinedGlobalIdent("freebsd"); + VersionCondition::addPredefinedGlobalIdent("Posix"); + break; case OSSolaris: - VersionCondition::addPredefinedGlobalIdent("solaris"); - VersionCondition::addPredefinedGlobalIdent("Posix"); - break; + VersionCondition::addPredefinedGlobalIdent("solaris"); + VersionCondition::addPredefinedGlobalIdent("Posix"); + break; default: assert(false && "Target OS not supported");