mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 07:38:08 +00:00
- Added MFC snprintf macro
This commit is contained in:
parent
ca41010b68
commit
d0a345e394
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ HEADER_INCLUDED
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if defined _MSC_VER && !defined snprintf
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#endif
|
||||||
|
|
||||||
void error_strerror( int ret, char *buf, size_t buflen )
|
void error_strerror( int ret, char *buf, size_t buflen )
|
||||||
{
|
{
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
Loading…
Reference in a new issue