mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-20 21:39:54 +00:00
Use the existing definition of __func__
Now that library is in the include path when compiling metatest.c, don't duplicate the definition of __func__ from library/common.h. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
895ebc30f0
commit
6f8ca29ce4
@ -34,6 +34,7 @@
|
||||
#include "test/helpers.h"
|
||||
#include "test/macros.h"
|
||||
#include "test/memory.h"
|
||||
#include "common.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@ -42,11 +43,6 @@
|
||||
#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