mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-15 00:09:03 +02: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