summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/qdns.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/qdns.cpp b/src/network/qdns.cpp
index 33f6d2e..965eae9 100644
--- a/src/network/qdns.cpp
+++ b/src/network/qdns.cpp
@@ -102,7 +102,6 @@ static Q_UINT32 now()
return 0;
}
-
static QPtrList<QHostAddress> * ns = 0;
static QStrList * domains = 0;
static bool ipv6support = FALSE;
@@ -2539,7 +2538,7 @@ void QDns::doSynchronousLookup()
}
#endif
-#if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 3)))
+#if defined(__RES) && (__RES >= 19980901)
#define Q_MODERN_RES_API
#else
#endif