Move msvc compatible fix to common.h
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
3523a3bee7
commit
6c983524a8
2 changed files with 8 additions and 7 deletions
|
@ -108,13 +108,6 @@
|
|||
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
|
||||
#endif
|
||||
|
||||
/* MSVC support __func__ from visual studio 2015( 1900 )
|
||||
Use MSVC predefine macro to avoid name check fail.
|
||||
*/
|
||||
#if (defined(_MSC_VER) && ( _MSC_VER <= 1900 ))
|
||||
#define __func__ __FUNCTION__
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_PRINTF_SIZET
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue