Commit f8a96cf
committed
fix(win32): resolve POSIX popen/pclose compatibility in C-dispatcher
Ensures the C-dispatcher compiles successfully on Windows/MSVC by mapping POSIX-standard pipe functions to their Win32 underscored counterparts.
Changes:
• Macro Aliasing: Added #ifdef _WIN32 guards to define popen as _popen and pclose as _pclose.
• Toolchain Alignment: Fixes unresolved external symbol errors during the cl.exe link phase.
Modified:
• src/omnipkg/dispatcher.c (+4/-0 lines)
[gitship-generated]1 parent 7e5a49e commit f8a96cf
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
0 commit comments