From 648e0b02ccbc0314e232cbf8fcfa8cf10c5d19b4 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Sun, 15 Feb 2009 21:44:03 +0100 Subject: [PATCH] Add OSX version declaration for Mac OS X to improve dmd-mac compatibility. --- dmd/mars.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dmd/mars.c b/dmd/mars.c index 1b352ef8..4da04e7a 100644 --- a/dmd/mars.c +++ b/dmd/mars.c @@ -925,6 +925,7 @@ int main(int argc, char *argv[]) break; case OSMacOSX: + VersionCondition::addPredefinedGlobalIdent("OSX"); VersionCondition::addPredefinedGlobalIdent("darwin"); VersionCondition::addPredefinedGlobalIdent("Posix"); break;