[bind10-dev] BIND 10 trac826, updated. 71ae6fae84ff35239024b745aec812b679183964 fix the lib dns++ message rendering benchmark

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Fri Jun 29 17:08:02 UTC 2012


Hmm, why didn't the original version (of yours) work?  Listing
standard/vendor header files below ours is in our style policy, so if
this is an inevitable exception I think we should note that in our
guideline page (even if the Windows support is currently very
experimental).

At Fri, 29 Jun 2012 14:50:50 +0000,
BIND 10 source code commits <bind10-changes at lists.isc.org> wrote:
> -----------------------------------------------------------------------
> diff --git a/src/lib/dns/benchmarks/message_renderer_bench.cc b/src/lib/dns/benchmarks/message_renderer_bench.cc
> index 63c2a35..1ba61df 100644
> --- a/src/lib/dns/benchmarks/message_renderer_bench.cc
> +++ b/src/lib/dns/benchmarks/message_renderer_bench.cc
> @@ -14,17 +14,17 @@
>  
>  #include <config.h>
>  
> +#ifdef _WIN32
> +#include <getopt.h>
> +#include <winsock2.h>
> +#endif
> +
>  #include <bench/benchmark.h>
>  
>  #include <dns/name.h>
>  #include <dns/messagerenderer.h>
>  #include <oldmessagerenderer.h>
>  
> -#ifdef _WIN32
> -#include <getopt.h>
> -#include <winsock2.h>
> -#endif
> -
>  #include <cassert>
>  #include <vector>

---
JINMEI, Tatuya


More information about the bind10-dev mailing list