From: sashan Date: Mon, 6 Oct 2025 13:27:18 +0000 (+0200) Subject: - fix suggested by Bernd X-Git-Tag: 3.6-PRE-CLANG-FORMAT-WEBKIT~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e68527b99fa3d7eaa735e4961875329c5f4505;p=thirdparty%2Fopenssl.git - 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) (cherry picked from commit 1ec5811d0f9d049d4ffa169d79e63deeb70a251b) --- diff --git a/test/bioprinttest.c b/test/bioprinttest.c index 1de1dd7d9a6..787fd138e52 100644 --- a/test/bioprinttest.c +++ b/test/bioprinttest.c @@ -542,7 +542,8 @@ static int test_n(int i) ptrdiff_t t; } n = { 0 }, std_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