Commit dd3437d5ba

Andrew Kelley <superjoe30@gmail.com>
2017-12-04 08:08:26
fix build on windows
1 parent 54138d9
Changed files (1)
std/os/child_process.zig
@@ -213,9 +213,9 @@ pub const ChildProcess = struct {
         self.term = (%Term)({
             var exit_code: windows.DWORD = undefined;
             if (windows.GetExitCodeProcess(self.handle, &exit_code) == 0) {
-                Term.Unknown{0}
+                Term { .Unknown = 0 }
             } else {
-                Term.Exited {@bitCast(i32, exit_code)}
+                Term { .Exited = @bitCast(i32, exit_code)}
             }
         });