Commit 19abcf0
committed
Fix Windows build: no-op fd handle with runtime_error guard
create_fd_handle and create_fd_handle_ref throw std::runtime_error
on Windows since POSIX file descriptors are Linux-only.
Made-with: Cursor1 parent c5ba8f2 commit 19abcf0
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
1125 | 1126 | | |
1126 | 1127 | | |
1127 | 1128 | | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
1128 | 1132 | | |
1129 | 1133 | | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
| 1134 | + | |
1136 | 1135 | | |
| 1136 | + | |
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
1140 | 1143 | | |
| 1144 | + | |
1141 | 1145 | | |
1142 | 1146 | | |
1143 | 1147 | | |
0 commit comments