From: Mark Andrews Date: Fri, 11 Jan 2013 05:25:39 +0000 (+1100) Subject: windows snprint support X-Git-Tag: v9.10.0a1~578 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5cd7ca9dbd4edff9b6be698c141bd309d4042691;p=thirdparty%2Fbind9.git windows snprint support --- diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 38e7f9ee5b2..6b533dd23f9 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