From 1ec5811d0f9d049d4ffa169d79e63deeb70a251b Mon Sep 17 00:00:00 2001 From: sashan Date: Mon, 6 Oct 2025 15:27:18 +0200 Subject: [PATCH] - fix suggested by Bernd Reviewed-by: Bernd Edlinger Reviewed-by: Tom Cosgrove Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/28759) --- test/bioprinttest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/bioprinttest.c b/test/bioprinttest.c index 28730631bc2..d4b94599945 100644 --- a/test/bioprinttest.c +++ b/test/bioprinttest.c @@ -541,7 +541,8 @@ static int test_n(int i) ptrdiff_t t; } n = { 0 }; -#if defined(_set_printf_count_output) +#if defined(OPENSSL_SYS_WINDOWS) && !defined(__MINGW32__) && \ + !defined(__CYGWIN__) /* * MS CRT is special and throws an exception when %n is used even * in non-*_s versions of printf routines, and there is a special function -- 2.47.3