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:
parent
3aa4f7404c
commit
3abb8bff60
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue