0bb87f5042
From Love in PR 26638. Fixes problems in threaded programs. eg psi and kde3.3's cups support.
13 lines
393 B
Text
13 lines
393 B
Text
$NetBSD: patch-bd,v 1.3 2004/08/24 12:38:18 markd Exp $
|
|
|
|
--- src/network/qdns.cpp.orig 2004-08-24 23:37:54.000000000 +1200
|
|
+++ src/network/qdns.cpp
|
|
@@ -2515,6 +2515,8 @@ void QDns::doSynchronousLookup()
|
|
|
|
#if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 3)))
|
|
#define Q_MODERN_RES_API
|
|
+#elif defined(res_ninit)
|
|
+#define Q_MODERN_RES_API
|
|
#else
|
|
#endif
|
|
|