curl/lib/curlx
Viktor Szakats 0042770157
warnless: drop parts of the read/write preprocessor hack (Windows)
The `#undef` hack is no longer necessary after changing the redifitions
to not map back to the original symbols.

This makes it unnecessary to repeat the redefinitions after compiling
`warnless.c` itself (in unity mode).

Which in turns makes it unnecessary to include `warnless.h` again, to
trigger such redefinition.

This also means that `read`/`write` are now redefined on Windows from
the first inclusion of `warnless.h`.

Also:
- tests/server: drop a repeat `warnless.h` include, that is unnecessary
  after this patch.
- tests/unit: drop repeat `warnless.h` include.
- tests/libtest: drop repeat `warnless.h` includes.
- tests/libtest: formatting.

Follow-up to 2f312a14da #17619
Follow-up to 84338c4de2 #12331
Follow-up to 6239146e93

Closes #17673
2025-06-19 17:09:43 +02:00
..
base64.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
base64.h mime: reuse the base64 string from the base64 code 2025-05-10 23:01:14 +02:00
binmode.h lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
curlx.h lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
dynbuf.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
dynbuf.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
inet_ntop.c lib: make curlx_inet_ntop() 2025-06-09 13:16:01 +02:00
inet_ntop.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
inet_pton.c curlx: move curlx_inet_pton 2025-05-09 13:45:24 +02:00
inet_pton.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
multibyte.c lib: move multibyte.[ch] to curlx/ 2025-05-08 10:19:19 +02:00
multibyte.h curlx: simplify the curlx_unicodefree macro 2025-05-08 11:57:58 +02:00
nonblock.c curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
nonblock.h curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
strparse.c tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
strparse.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timediff.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timediff.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timeval.c timeval.c: #include fix 2025-05-11 12:24:10 +02:00
timeval.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
version_win32.c curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
version_win32.h curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
wait.c lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
wait.h lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
warnless.c warnless: drop parts of the read/write preprocessor hack (Windows) 2025-06-19 17:09:43 +02:00
warnless.h warnless: drop parts of the read/write preprocessor hack (Windows) 2025-06-19 17:09:43 +02:00
winapi.c windows: fix to preserve error code in curlx_winapi_strerror() 2025-05-09 15:56:07 +02:00
winapi.h curlx: add curlx_winapi_ functions 2025-05-09 10:45:36 +02:00