windows snprint support

This commit is contained in:
Mark Andrews
2013-01-11 16:26:49 +11:00
parent 513c6f4748
commit bf4008d44e
+4
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>