From 913ee39d249c9cf79554b49b7eb3c002752e9f75 Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Thu, 12 Feb 2026 14:31:03 +0000 Subject: [PATCH] Add __func__ macro for Windows --- test/test_ssl_want_write.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_ssl_want_write.c b/test/test_ssl_want_write.c index 682bfcfe..2a0bbc6f 100644 --- a/test/test_ssl_want_write.c +++ b/test/test_ssl_want_write.c @@ -154,6 +154,10 @@ void MyLog(int LOGA_level, char* format, ...) int tests = 0; int failures = 0; +#if !defined(__func__) +#define __func__ __FUNCTION__ +#endif + #define ASSERT(condition, message) \ do { \ tests++; \