From a2de3f08e327b749c5a518aef61ef7d06ebcae97 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 23 Jun 2025 08:52:21 +0200 Subject: [PATCH] tests/libtest: call `curlx_now_init()` for unit 1399, 2600 (Windows) Follow-up to 35d0c047ce713298f15771649ffe7662404628f0 #17641 Closes #17714 --- tests/libtest/Makefile.inc | 2 ++ tests/libtest/first.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc index 7142a52c18..3587ecd285 100644 --- a/tests/libtest/Makefile.inc +++ b/tests/libtest/Makefile.inc @@ -35,7 +35,9 @@ CURLX_CFILES = \ ../../lib/curlx/warnless.c \ ../../lib/curlx/multibyte.c \ ../../lib/curlx/timediff.c \ + ../../lib/curlx/timeval.c \ ../../lib/curl_threads.c \ + ../../lib/curlx/version_win32.c \ ../../lib/curlx/wait.c # All libtest programs diff --git a/tests/libtest/first.c b/tests/libtest/first.c index ee35494c26..abc7c34014 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -112,6 +112,9 @@ int main(int argc, char **argv) CURLX_SET_BINMODE(stdout); memory_tracking_init(); +#ifdef _WIN32 + curlx_now_init(); +#endif /* * Setup proper locale from environment. This is needed to enable locale- -- 2.47.2