windows snprint support

This commit is contained in:
Mark Andrews 2013-01-11 16:25:39 +11:00
parent b3d116c299
commit 5cd7ca9dbd

View file

@ -22,6 +22,10 @@
* Silence compiler warnings about using strcpy and friends.
*/
#define _CRT_SECURE_NO_DEPRECATE 1
/*
* We use snprintf.
*/
#define snprintf _snprintf
#endif
#include <sys/types.h>