Mercurial > projects > ldc
diff gen/main.cpp @ 1387:5855958073a9
Added new FreeBSD and Solaris predefined version identifiers.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sun, 17 May 2009 17:10:26 +0200 |
parents | 229e02867307 |
children | c5a92bee639d |
line wrap: on
line diff
--- a/gen/main.cpp Sun May 17 17:04:47 2009 +0200 +++ b/gen/main.cpp Sun May 17 17:10:26 2009 +0200 @@ -541,6 +541,7 @@ { global.params.os = OSFreeBSD; VersionCondition::addPredefinedGlobalIdent("freebsd"); + VersionCondition::addPredefinedGlobalIdent("FreeBSD"); VersionCondition::addPredefinedGlobalIdent("Posix"); } // solaris @@ -548,6 +549,7 @@ { global.params.os = OSSolaris; VersionCondition::addPredefinedGlobalIdent("solaris"); + VersionCondition::addPredefinedGlobalIdent("Solaris"); VersionCondition::addPredefinedGlobalIdent("Posix"); } // unsupported