Commit 66a2db8
committed
Fix parakeet_helper build on Windows/MSVC: rename stdout/stderr params
stdout and stderr are C standard library macros. On macOS/Clang they
resolve to extern FILE* variables so using them as parameter names
compiles by coincidence. On Windows/MSVC they expand to function calls
like (__acrt_iob_func(1)), breaking the syntax.
Rename to captured_stdout / captured_stderr. The JSON keys remain
'stdout' and 'stderr' (unchanged wire format).1 parent b54a81c commit 66a2db8
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
| 135 | + | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
| 143 | + | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments