fix for MS Visual Studio snprintf()
This commit is contained in:
parent
7c79cf41e2
commit
b504d440a0
5
src/io.c
5
src/io.c
@ -32,6 +32,11 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#else
|
||||||
|
#include <stdio.h>
|
||||||
|
#if _MSC_VER < 1900
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__) || defined(__amigaos__)
|
#if defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__) || defined(__amigaos__)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user