From e932919e680aa6b6ef910e1c4ad969ac1ce0c46d Mon Sep 17 00:00:00 2001 From: Andrea Orru Date: Sat, 6 Jan 2018 23:10:53 -0500 Subject: Darwin -> MacOSX, added Zen. See #438 --- src/link.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/link.cpp') diff --git a/src/link.cpp b/src/link.cpp index 13e61dd4e7..28055718c9 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -644,7 +644,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 || g->zig_target.os == ZigLLVM_Darwin) { + } else if (g->zig_target.os == OsMacOSX) { platform->kind = MacOS; g->mmacosx_version_min = buf_create_from_str("10.10"); } else { -- cgit v1.2.3