]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
windows snprint support
authorMark Andrews <marka@isc.org>
Fri, 11 Jan 2013 05:25:39 +0000 (16:25 +1100)
committerMark Andrews <marka@isc.org>
Fri, 11 Jan 2013 05:27:24 +0000 (16:27 +1100)
lib/dns/gen.c

index 38e7f9ee5b21fcaca1c11991c58623bf68a53eb8..6b533dd23f9c77ac2f545f8987e0bc59fa2b8503 100644 (file)
  * 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>