From 2a3711a566d6e1d3514483fe426af13e44b2ce41 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Thu, 29 Jun 2023 22:14:36 +0200 Subject: [PATCH] win32: check: adjust check config.h to run with newest check library on VS2022 Signed-off-by: Simon Goldschmidt --- contrib/ports/win32/check/config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/ports/win32/check/config.h b/contrib/ports/win32/check/config.h index 69c04f9b..7ed591d1 100644 --- a/contrib/ports/win32/check/config.h +++ b/contrib/ports/win32/check/config.h @@ -6,7 +6,6 @@ typedef unsigned int pid_t; typedef unsigned int uint32_t; typedef int ssize_t; -#define snprintf _snprintf #define HAVE_DECL_STRDUP 1 #define HAVE_DECL_FILENO 1 @@ -24,7 +23,7 @@ typedef int ssize_t; #define LWIP_UNITTESTS_NOFORK #include +#include typedef unsigned int clockid_t; typedef unsigned int timer_t; -#define STRUCT_TIMESPEC_DEFINITION_MISSING