authorgravatar for emekankurumeh@outlook.comemekoi <emekankurumeh@outlook.com> 2019-04-27 16:17:07-05:00
committergravatar for emekankurumeh@outlook.comemekoi <emekankurumeh@outlook.com> 2019-04-27 16:17:07-05:00
log6057513cc753905a592e4810e6eb79ffb397cf73
tree888d38a155d88c84610d524912ee716fc7a26ace
parentdfada0cc77cb77a337baa784e4e96c7a94d217bb

fixed visibility of zig_libc_cc_print_file_name


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

src/libc_installation.cpp+1-1
...@@ -273,7 +273,7 @@ static Error zig_libc_find_native_include_dir_posix(ZigLibCInstallation *self, b...@@ -273,7 +273,7 @@ static Error zig_libc_find_native_include_dir_posix(ZigLibCInstallation *self, b
273 return ErrorFileNotFound;273 return ErrorFileNotFound;
274}274}
275275
276static Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose) {276Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose) {
277 const char *cc_exe = getenv("CC");277 const char *cc_exe = getenv("CC");
278 cc_exe = (cc_exe == nullptr) ? CC_EXE : cc_exe;278 cc_exe = (cc_exe == nullptr) ? CC_EXE : cc_exe;
279 ZigList<const char *> args = {};279 ZigList<const char *> args = {};
src/libc_installation.hpp+2
...@@ -30,4 +30,6 @@ void zig_libc_render(ZigLibCInstallation *self, FILE *file);...@@ -30,4 +30,6 @@ void zig_libc_render(ZigLibCInstallation *self, FILE *file);
3030
31Error ATTRIBUTE_MUST_USE zig_libc_find_native(ZigLibCInstallation *self, bool verbose);31Error ATTRIBUTE_MUST_USE zig_libc_find_native(ZigLibCInstallation *self, bool verbose);
3232
33Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose);
34
33#endif35#endif