Change #256543
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Wed 28 Jan 2026 03:27:20 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 2f7d37f54a5b659a645856097cd5611ce264b261 |
Comments
windows: `USE_WINSOCK` to guard winsock2 code (where missing) Replacing `_WIN32`. Also: - tool_doswin: guard possibly non-portable socket code with `USE_WINSOCK`. The socket is cast to `HANDLE` and passed to win32 API `SetStdHandle(STD_INPUT_HANDLE, ...)`. - lib/setup-win32.h: move `#undef`s before their `#define` pair. Closes #20455
Changed files
- lib/curl_setup.h
- lib/functypes.h
- lib/setup-win32.h
- lib/url.c
- src/tool_doswin.c
- src/tool_operate.c