From: Mark Andrews Date: Tue, 23 Aug 2005 04:47:45 +0000 (+0000) Subject: silence compiler warning X-Git-Tag: v9.2.6b1~28^2~28 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f255d0ebd80f6be19af075fcf1f31db6244226b6;p=thirdparty%2Fbind9.git silence compiler warning --- diff --git a/lib/bind/resolv/mtctxres.c b/lib/bind/resolv/mtctxres.c index 2a9c63a0b4c..f33cf11e3f4 100644 --- a/lib/bind/resolv/mtctxres.c +++ b/lib/bind/resolv/mtctxres.c @@ -17,7 +17,7 @@ static int mt_key_initialized = 0; static int __res_init_ctx(void); static void __res_destroy_ctx(void *); -#ifdef sun +#if defined(sun) && !defined(__GNUC__) #pragma init (_mtctxres_init) #endif #endif