- Improved portability with Microsoft Visual C

This commit is contained in:
Paul Bakker 2011-04-18 03:47:52 +00:00
parent a493ad4539
commit af5c85fc10
32 changed files with 2325 additions and 3 deletions

View file

@ -36,6 +36,10 @@
#include "polarssl/sha1.h"
#include "polarssl/x509.h"
#if defined _MSC_VER && !defined snprintf
#define snprintf _snprintf
#endif
int main( int argc, char *argv[] )
{
FILE *f;

View file

@ -36,6 +36,10 @@
#include "polarssl/sha1.h"
#include "polarssl/x509.h"
#if defined _MSC_VER && !defined snprintf
#define snprintf _snprintf
#endif
int main( int argc, char *argv[] )
{
FILE *f;