From d52398d31fa85665ea2e2690363cbfee32220ed7 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Tue, 28 Sep 2021 16:13:44 +0800 Subject: [PATCH] fix double underscore fail Signed-off-by: Jerry Yu --- library/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common.h b/library/common.h index ba8237acf6..9b10ec8fbb 100644 --- a/library/common.h +++ b/library/common.h @@ -323,7 +323,7 @@ extern void (*mbedtls_test_hook_test_fail)( const char * test, int line, const c * Use MSVC predefine macro to avoid name check fail. */ #if (defined(_MSC_VER) && ( _MSC_VER <= 1900 )) -#define __func__ __FUNCTION__ +#define /*no-check-names*/ __func__ __FUNCTION__ #endif #endif /* MBEDTLS_LIBRARY_COMMON_H */