mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 08:58:24 +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)
|
#if defined(POLARSSL_ERROR_C) || defined(POLARSSL_ERROR_STRERROR_DUMMY)
|
||||||
#include "polarssl/error.h"
|
#include "polarssl/error.h"
|
||||||
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_ERROR_C)
|
#if defined(POLARSSL_ERROR_C)
|
||||||
|
|
||||||
HEADER_INCLUDED
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
|
HEADER_INCLUDED
|
||||||
#if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \
|
#if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \
|
||||||
!defined(EFI32)
|
!defined(EFI32)
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
|
@ -114,8 +114,6 @@ void error_strerror( int ret, char *buf, size_t buflen )
|
||||||
|
|
||||||
#if defined(POLARSSL_ERROR_STRERROR_DUMMY)
|
#if defined(POLARSSL_ERROR_STRERROR_DUMMY)
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Provide an non-function in case POLARSSL_ERROR_C is not defined
|
* Provide an non-function in case POLARSSL_ERROR_C is not defined
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue