fix for MS Visual Studio snprintf()

This commit is contained in:
Thomas Bernard
2018-04-09 15:06:28 +02:00
parent 7c79cf41e2
commit b504d440a0

View File

@@ -32,6 +32,11 @@
#include <fcntl.h>
#ifndef _MSC_VER
#include <unistd.h>
#else
#include <stdio.h>
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#endif
#if defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__) || defined(__amigaos__)