fix bug introduced by the addition of snprintf and assert macro which caused tests to fail without polarssl_platform_c defined

This commit is contained in:
Rich Evans 2015-02-03 11:48:59 +00:00
parent 4cc8a22d88
commit 3d62e72648
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@
#define polarssl_fprintf fprintf
#define polarssl_malloc malloc
#define polarssl_free free
#define polarssl_exit exit
#define polarssl_fprintf fprintf
#define polarssl_printf printf
#define polarssl_snprintf snprintf
#endif
#ifdef _MSC_VER
@ -15,6 +19,7 @@ typedef UINT32 uint32_t;
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -1,4 +1,3 @@
#include <stdio.h>
#include <string.h>
#if defined(POLARSSL_PLATFORM_C)