tests use darwin, not macosx since that's what macbook reports as

This commit is contained in:
Andrew Kelley
2017-08-30 15:15:14 -04:00
parent 0e9bdb44a6
commit 97013951dd
3 changed files with 3 additions and 3 deletions

View File

@@ -573,7 +573,7 @@ static void get_darwin_platform(LinkJob *lj, DarwinPlatform *platform) {
platform->kind = MacOS;
} else if (g->mios_version_min) {
platform->kind = IPhoneOS;
} else if (g->zig_target.os == ZigLLVM_MacOSX) {
} else if (g->zig_target.os == ZigLLVM_MacOSX || g->zig_target.os == ZigLLVM_Darwin) {
platform->kind = MacOS;
g->mmacosx_version_min = buf_create_from_str("10.10");
} else {