Mercurial > projects > ldc
comparison dmd/mars.c @ 960:0b38b64f62c7
Add OSX version declaration for Mac OS X to improve dmd-mac compatibility.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 15 Feb 2009 21:44:03 +0100 |
parents | 55559220ad72 |
children | a8cb25d478c4 |
comparison
equal
deleted
inserted
replaced
959:7e669954db7d | 960:0b38b64f62c7 |
---|---|
923 VersionCondition::addPredefinedGlobalIdent("linux"); | 923 VersionCondition::addPredefinedGlobalIdent("linux"); |
924 VersionCondition::addPredefinedGlobalIdent("Posix"); | 924 VersionCondition::addPredefinedGlobalIdent("Posix"); |
925 break; | 925 break; |
926 | 926 |
927 case OSMacOSX: | 927 case OSMacOSX: |
928 VersionCondition::addPredefinedGlobalIdent("OSX"); | |
928 VersionCondition::addPredefinedGlobalIdent("darwin"); | 929 VersionCondition::addPredefinedGlobalIdent("darwin"); |
929 VersionCondition::addPredefinedGlobalIdent("Posix"); | 930 VersionCondition::addPredefinedGlobalIdent("Posix"); |
930 break; | 931 break; |
931 | 932 |
932 case OSFreeBSD: | 933 case OSFreeBSD: |