diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-03-31 11:26:02 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-03-31 11:26:02 -0400 |
| commit | 8f962a957a3645342fba8219cf8f33d0ac42e16d (patch) | |
| tree | be4982feb1cbc0d334d5684ed49df76e602a1891 /src/analyze.cpp | |
| parent | c3724ec506a9e3a4b23a145a733050c17321da9d (diff) | |
| download | zig-8f962a957a3645342fba8219cf8f33d0ac42e16d.tar.gz zig-8f962a957a3645342fba8219cf8f33d0ac42e16d.zip | |
fix regressions on windows
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 5dd15a6943..291e7e7644 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -4378,6 +4378,7 @@ void find_libc_include_path(CodeGen *g) { if (g->zig_target.os == OsWindows) { ZigWindowsSDK *sdk = get_windows_sdk(g); + g->libc_include_dir = buf_alloc(); if (os_get_win32_ucrt_include_path(sdk, g->libc_include_dir)) { zig_panic("Unable to determine libc include path."); } |
