summaryrefslogtreecommitdiff
path: root/lib/curl_addrinfo.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-25 10:24:11 +0000
committerYang Tse <yangsita@gmail.com>2009-04-25 10:24:11 +0000
commitc0d929bed98d261becbeb43547685adc9daae686 (patch)
treedb7a4b69cae51361594970ddbae2151e785bc60c /lib/curl_addrinfo.c
parent828a26286d22b61b28de6cf356806731560b3805 (diff)
downloadcurl-c0d929bed98d261becbeb43547685adc9daae686.tar.gz
Further narrow the use of the icc 9.1 optimizer workaround.
Previous workaround proved useful, and finally did not trigger any warning!
Diffstat (limited to 'lib/curl_addrinfo.c')
-rw-r--r--lib/curl_addrinfo.c2
1 files changed, 1 insertions, 1 deletions
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