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