aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-04-11 12:02:22 +0200
committerRiccardo Spagni <ric@spagni.net>2015-04-11 12:09:52 +0200
commitda66872a542e0885ebe026012d0805934fe0f5a7 (patch)
tree04ff7dcf43840494a356485a9f377aab14212e56 /src/common/dns_utils.cpp
parentMerge pull request #259 (diff)
parent[fix] log level change. compilation: dns, tests (diff)
downloadmonero-da66872a542e0885ebe026012d0805934fe0f5a7.tar.xz
Merge pull request #260
32c19c6 [fix] log level change. compilation: dns, tests (rfree2monero)
Diffstat (limited to 'src/common/dns_utils.cpp')
-rw-r--r--src/common/dns_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp
index ece24cf9f..ea7f1078b 100644
--- a/src/common/dns_utils.cpp
+++ b/src/common/dns_utils.cpp
@@ -167,7 +167,7 @@ DNSResolver::DNSResolver() : m_data(new DNSResolverData())
ub_ctx_hosts(m_data->m_ub_context, NULL);
#ifdef DEVELOPER_LIBUNBOUND_OLD
- #warning "Using the work around for old libunbound"
+ #pragma message "Using the work around for old libunbound"
{ // work around for bug https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=515 needed for it to compile on e.g. Debian 7
char * ds_copy = NULL; // this will be the writable copy of string that bugged version of libunbound requires
try {