authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-02-27 08:39:51-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-02-27 08:40:54-05:00
logd093f51f16ab9fe4f119a47c80c59d99a90a590f
tree8016f1f8cfc124b2502fe9c4267eb309e5247565
parentc59ce046a0ad468ac3f80c2d43ffa056772df7f1
signaturelock-open Commit is signed but in an unrecognized format.

stage1: fix unused function error on freebsd and netbsd

closes #2012 closes #2013

1 files changed, 1 insertions(+), 1 deletions(-)

src/libc_installation.cpp+1-1
......@@ -325,7 +325,7 @@ static Error zig_libc_find_native_include_dir_posix(ZigLibCInstallation *self, b
325325 }
326326 return ErrorFileNotFound;
327327}
328#if !defined(ZIG_OS_DARWIN)
328#if !defined(ZIG_OS_DARWIN) && !defined(ZIG_OS_FREEBSD) && !defined(ZIG_OS_NETBSD)
329329static Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose) {
330330 const char *cc_exe = getenv("CC");
331331 cc_exe = (cc_exe == nullptr) ? "cc" : cc_exe;