fix build (unused function warning)

d3c88a89 needed some #ifdefs shuffled around
This commit is contained in:
Andrew Kelley 2019-04-29 13:18:16 -04:00
parent d3c88a8949
commit 8afa1e800b
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -322,11 +322,11 @@ static Error zig_libc_find_native_crt_dir_posix(ZigLibCInstallation *self, bool
}
#endif
#if defined(ZIG_OS_WINDOWS)
static Error zig_libc_find_native_static_crt_dir_posix(ZigLibCInstallation *self, bool verbose) {
return zig_libc_cc_print_file_name("crtbegin.o", &self->static_crt_dir, true, verbose);
}
#if defined(ZIG_OS_WINDOWS)
static Error zig_libc_find_native_include_dir_windows(ZigLibCInstallation *self, ZigWindowsSDK *sdk, bool verbose) {
Error err;
if ((err = os_get_win32_ucrt_include_path(sdk, &self->include_dir))) {