]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence compiler warning
authorMark Andrews <marka@isc.org>
Tue, 23 Aug 2005 04:49:07 +0000 (04:49 +0000)
committerMark Andrews <marka@isc.org>
Tue, 23 Aug 2005 04:49:07 +0000 (04:49 +0000)
lib/bind/resolv/mtctxres.c

index 2a9c63a0b4ca292ad40b2d31acec2d582e4f5082..f33cf11e3f42ddeffc5d1b5b5b11eb1285216693 100644 (file)
@@ -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