authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-12-04 02:08:26-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-12-04 02:08:26-05:00
logdd3437d5ba30c2101719fa38a95914fae5d965dd
tree167069a580871da4156b8230d59e8c00122cd7e0
parent54138d9e82d545094a85435ef862a6d4894e859e

fix build on windows


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

std/os/child_process.zig+2-2
...@@ -213,9 +213,9 @@ pub const ChildProcess = struct {...@@ -213,9 +213,9 @@ pub const ChildProcess = struct {
213 self.term = (%Term)({213 self.term = (%Term)({
214 var exit_code: windows.DWORD = undefined;214 var exit_code: windows.DWORD = undefined;
215 if (windows.GetExitCodeProcess(self.handle, &exit_code) == 0) {215 if (windows.GetExitCodeProcess(self.handle, &exit_code) == 0) {
216 Term.Unknown{0}216 Term { .Unknown = 0 }
217 } else {217 } else {
218 Term.Exited {@bitCast(i32, exit_code)}218 Term { .Exited = @bitCast(i32, exit_code)}
219 }219 }
220 });220 });
221221