From: Yang Tse Date: Sat, 25 Apr 2009 10:24:11 +0000 (+0000) Subject: Further narrow the use of the icc 9.1 optimizer workaround. X-Git-Tag: curl-7_19_5~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0d929bed98d261becbeb43547685adc9daae686;p=curl Further narrow the use of the icc 9.1 optimizer workaround. Previous workaround proved useful, and finally did not trigger any warning! --- diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c index 9d56e6a2f..a9db3d75f 100644 --- a/lib/curl_addrinfo.c +++ b/lib/curl_addrinfo.c @@ -69,7 +69,7 @@ */ #if defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 910) && \ - defined(__unix__) && defined(__i386__) + defined(__OPTIMIZE__) && defined(__unix__) && defined(__i386__) /* workaround icc 9.1 optimizer issue */ # define vqualifier volatile #else