w32: Drop snprintf(), vsnprintf() macros for Visual Studio

The Visual Studio ANSI C compatibility flag now covers these functions
so now the defines create a conflict.

Signed-off-by: Ron Koenderink <rkoenderink@gmail.com>
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Ron Koenderink 2021-02-04 16:46:21 -06:00 committed by Markus Armbruster
parent 3aa4f7404c
commit 3abb8bff60

View file

@ -51,12 +51,6 @@
#define O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
#endif
/* stdio.h */
#ifdef _MSC_VER
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#endif
/* time.h */
struct tm;
extern char *strptime(const char *buf, const char *fmt, struct tm *tm);