From 5cd7ca9dbd4edff9b6be698c141bd309d4042691 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 11 Jan 2013 16:25:39 +1100 Subject: [PATCH] windows snprint support --- lib/dns/gen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 38e7f9ee5b..6b533dd23f 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -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