mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 02:33:47 +00:00
Update error.fmt to match update error.c
This commit is contained in:
parent
6c5abfa42b
commit
f5dc8ec358
1 changed files with 2 additions and 4 deletions
|
@ -28,14 +28,14 @@
|
|||
|
||||
#if defined(POLARSSL_ERROR_C) || defined(POLARSSL_ERROR_STRERROR_DUMMY)
|
||||
#include "polarssl/error.h"
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_ERROR_C)
|
||||
|
||||
HEADER_INCLUDED
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
HEADER_INCLUDED
|
||||
#if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \
|
||||
!defined(EFI32)
|
||||
#define snprintf _snprintf
|
||||
|
@ -114,8 +114,6 @@ void error_strerror( int ret, char *buf, size_t buflen )
|
|||
|
||||
#if defined(POLARSSL_ERROR_STRERROR_DUMMY)
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* Provide an non-function in case POLARSSL_ERROR_C is not defined
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue