It is not provided as a curlx function so should not be used outside of
libcurl.
I strongly suspect that no system we build the test suite on lack strdup
so this will not cause any harm.
The private version was added in
b0936b800719f915ff2a59a for Ultrix.
Closes #17297
../../lib/curlx/timeval.c \
../../lib/curlx/dynbuf.c \
../../lib/strcase.c \
- ../../lib/strdup.c \
../../lib/curlx/multibyte.c \
../../lib/curlx/version_win32.c
../../lib/curlx/timeval.h \
../../lib/curlx/dynbuf.h \
../../lib/strcase.h \
- ../../lib/strdup.h \
../../lib/curlx/multibyte.h \
../../lib/curlx/version_win32.h
#if defined(UNDER_CE)
#define system_strdup _strdup
-#elif !defined(HAVE_STRDUP)
-#define system_strdup Curl_strdup
#else
#define system_strdup strdup
#endif
curl_strdup_callback Curl_cstrdup = (curl_strdup_callback)system_strdup;
curl_calloc_callback Curl_ccalloc = (curl_calloc_callback)calloc;
#if defined(_WIN32) && defined(UNICODE)
-curl_wcsdup_callback Curl_cwcsdup = Curl_wcsdup;
+curl_wcsdup_callback Curl_cwcsdup = NULL; /* not use in test code */
#endif
#if defined(_MSC_VER) && defined(_DLL)