]> 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:28:01 +0000 (16:28 +1100)
lib/dns/gen.c

index 367bc350cdad154db72cc5e8932cb2db16997773..53f2a421997ae6a415325794dae11ff5ab99f55a 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>