#include "dnswriter.hh"
#include "dnsrecords.hh"
#include <boost/format.hpp>
+#include "config.h"
#ifndef RECURSOR
#include "statbag.hh"
StatBag S;
#endif
+volatile bool g_ret; // make sure the optimizer does not get too smart
uint64_t g_totalRuns;
volatile bool g_stop;
void operator()() const
{
static string a("www.ds9a.nl"), b("www.lwn.net");
- bool ret = boost::iequals(a, b);
+ g_ret = boost::iequals(a, b);
}
};
void operator()() const
{
static string a("www.ds9a.nl"), b("www.lwn.net");
- bool ret = pdns_iequals(a, b);
+ g_ret = pdns_iequals(a, b);
}
};
void operator()() const
{
static string a("www.ds9a.nl"), b("www.lwn.net");
- bool ret = strcasecmp(a.c_str(), b.c_str());
+ g_ret = strcasecmp(a.c_str(), b.c_str());
}
};