mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-29 23:07:11 +00:00
parent
6512554f42
commit
c728f9486b
|
@ -32,6 +32,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define polarssl_fprintf fprintf
|
#define polarssl_fprintf fprintf
|
||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
|
#define polarssl_snprintf snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
|
@ -43,6 +44,10 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined _MSC_VER && !defined snprintf
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_RSA_C) || \
|
#if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_RSA_C) || \
|
||||||
!defined(POLARSSL_SHA256_C) || !defined(POLARSSL_FS_IO)
|
!defined(POLARSSL_SHA256_C) || !defined(POLARSSL_FS_IO)
|
||||||
int main( void )
|
int main( void )
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
|
#define polarssl_snprintf snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
#if defined(POLARSSL_BIGNUM_C) && defined(POLARSSL_RSA_C) && \
|
||||||
|
@ -42,6 +43,10 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined _MSC_VER && !defined snprintf
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_RSA_C) || \
|
#if !defined(POLARSSL_BIGNUM_C) || !defined(POLARSSL_RSA_C) || \
|
||||||
!defined(POLARSSL_SHA256_C) || !defined(POLARSSL_FS_IO)
|
!defined(POLARSSL_SHA256_C) || !defined(POLARSSL_FS_IO)
|
||||||
int main( void )
|
int main( void )
|
||||||
|
|
Loading…
Reference in a new issue