mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 03:43:13 +01:00
Add OSX version declaration for Mac OS X to improve dmd-mac compatibility.
This commit is contained in:
@@ -925,6 +925,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case OSMacOSX:
|
||||
VersionCondition::addPredefinedGlobalIdent("OSX");
|
||||
VersionCondition::addPredefinedGlobalIdent("darwin");
|
||||
VersionCondition::addPredefinedGlobalIdent("Posix");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user