From: Steve Peters Date: Tue, 31 Jan 2006 18:42:31 +0000 (+0000) Subject: Intel C Compiler 9.0 hatefully defines __GNUC__. Unfortunately, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fc2007d4a9b17b1ac334e18213f5b0840803b58d;p=p5sagit%2Fp5-mst-13.2.git Intel C Compiler 9.0 hatefully defines __GNUC__. Unfortunately, icc does not support gcc built-ins like __attribiute__. p4raw-id: //depot/perl@27027 --- diff --git a/perl.h b/perl.h index f4d20f8..04b070f 100644 --- a/perl.h +++ b/perl.h @@ -2500,7 +2500,7 @@ typedef struct clone_params CLONE_PARAMS; * have HASATTRIBUTE_FORMAT). */ -#if defined __GNUC__ +#if defined __GNUC__ && !defined(__INTEL_COMPILER) # if __GNUC__ >= 3 /* 3.0 -> */ /* XXX Verify this version */ # define HASATTRIBUTE_FORMAT # endif