curlx: add curlx_winapi_ functions

Split them out from lib/strerror. Used by test code.

Closes #17299
This commit is contained in:
Daniel Stenberg 2025-05-09 10:21:53 +02:00
parent 9468503330
commit c74d3e10d2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 193 additions and 110 deletions

View file

@ -62,8 +62,8 @@ UTIL = \
server_setup.h \
../../lib/curlx/base64.c \
../../lib/curlx/base64.h \
../../lib/strerror.c \
../../lib/strerror.h
../../lib/curlx/winapi.c \
../../lib/curlx/winapi.h
FIRSTFILES = \
first.c \

View file

@ -41,10 +41,6 @@
#include <dos.h> /* delay() */
#endif
#ifdef _WIN32
#include "strerror.h"
#endif
#include <curlx.h> /* from the private lib dir */
#include "util.h"