aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-01-08 10:34:45 -0500
committerAndrew Kelley <superjoe30@gmail.com>2018-01-08 10:34:45 -0500
commit5a8d87f5042b5ab86de7c72df4ce84a314878e40 (patch)
treed9a8e14011994c5ebdf4525ea5c5b647aae91a6e /src/main.cpp
parent38658a597bc22697c2038c21bdec9f04c9973eb8 (diff)
parent598170756cd91b6f300921d256baa72141ec3098 (diff)
downloadzig-5a8d87f5042b5ab86de7c72df4ce84a314878e40.tar.gz
zig-5a8d87f5042b5ab86de7c72df4ce84a314878e40.zip
Merge branch 'master' into llvm6
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4acf4014ba..c416819842 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -120,7 +120,7 @@ static int print_target_list(FILE *f) {
fprintf(f, "\nOperating Systems:\n");
size_t os_count = target_os_count();
for (size_t i = 0; i < os_count; i += 1) {
- ZigLLVM_OSType os_type = get_target_os(i);
+ Os os_type = get_target_os(i);
const char *native_str = (native.os == os_type) ? " (native)" : "";
fprintf(f, " %s%s\n", get_target_os_name(os_type), native_str);
}