1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Fix forgotten snprintf define for MSVC

This commit is contained in:
Manuel Pégourié-Gonnard
2013-10-03 11:59:57 +02:00
committed by Paul Bakker
parent 9654fb156f
commit 2f77ce3658

View File

@ -49,6 +49,10 @@
#include "polarssl/ecdsa.h" #include "polarssl/ecdsa.h"
#include "polarssl/ecdh.h" #include "polarssl/ecdh.h"
#if defined _MSC_VER && !defined snprintf
#define snprintf _snprintf
#endif
#define BUFSIZE 1024 #define BUFSIZE 1024
#define HEADER_FORMAT " %-16s : " #define HEADER_FORMAT " %-16s : "
#define TITLE_LEN 17 #define TITLE_LEN 17