mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
Fix MSVC build failure
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
479a1944e8
commit
f5dd00288e
@ -41,6 +41,11 @@
|
||||
#include <mbedtls/threading.h>
|
||||
#endif
|
||||
|
||||
/* C99 feature missing from older versions of MSVC */
|
||||
#if (defined(_MSC_VER) && (_MSC_VER <= 1900))
|
||||
#define /*no-check-names*/ __func__ __FUNCTION__
|
||||
#endif
|
||||
|
||||
|
||||
/* This is an external variable, so the compiler doesn't know that we're never
|
||||
* changing its value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user