| author | |
| committer | |
| log | 85cc3f24a0c1ee9957d0264bd7532441090cbd6c |
| tree | 28b104f0cbecf640980451d95642466f1c4797cf |
| parent | aa6654a4b3c64499ccb4b16e1f7257e7da14ef81 |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os/windows.zig+1-1| ... | ... | @@ -110,7 +110,7 @@ pub fn OpenFile(sub_path_w: []const u16, options: OpenFileOptions) OpenError!HAN |
| 110 | 110 | ); |
| 111 | 111 | switch (rc) { |
| 112 | 112 | .SUCCESS => { |
| 113 | if (options.io_mode == .evented) { | |
| 113 | if (std.io.is_async and options.io_mode == .evented) { | |
| 114 | 114 | _ = CreateIoCompletionPort(result, std.event.Loop.instance.?.os_data.io_port, undefined, undefined) catch undefined; |
| 115 | 115 | } |
| 116 | 116 | return result; |