mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +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>
|
#include <mbedtls/threading.h>
|
||||||
#endif
|
#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
|
/* This is an external variable, so the compiler doesn't know that we're never
|
||||||
* changing its value.
|
* changing its value.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user