From c0d929bed98d261becbeb43547685adc9daae686 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 25 Apr 2009 10:24:11 +0000 Subject: Further narrow the use of the icc 9.1 optimizer workaround. Previous workaround proved useful, and finally did not trigger any warning! --- lib/curl_addrinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3