Fix snprintf for M$ compilers

This commit is contained in:
Mathieu Malaterre 2012-01-30 09:29:48 +00:00
parent 7d0a419c87
commit 6dc8635e28
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#include <string.h>
#include <stdio.h>
#ifdef _WIN32
#define _snprintf snprintf /* Visual Studio */
#include <io.h>
#else
#include <sys/types.h>