mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
stage1: fix unused function error on freebsd and netbsd
closes #2012 closes #2013
This commit is contained in:
parent
c59ce046a0
commit
d093f51f16
@ -325,7 +325,7 @@ static Error zig_libc_find_native_include_dir_posix(ZigLibCInstallation *self, b
|
||||
}
|
||||
return ErrorFileNotFound;
|
||||
}
|
||||
#if !defined(ZIG_OS_DARWIN)
|
||||
#if !defined(ZIG_OS_DARWIN) && !defined(ZIG_OS_FREEBSD) && !defined(ZIG_OS_NETBSD)
|
||||
static Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose) {
|
||||
const char *cc_exe = getenv("CC");
|
||||
cc_exe = (cc_exe == nullptr) ? "cc" : cc_exe;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user