diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-09 00:07:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-09 00:07:56 +0000 |
commit | ebadeff0caa424013a729d3ad1e7210142bc781f (patch) | |
tree | 83362937904453758e47828f0d74fd35ac71746d /include | |
parent | 830018aa38817547dddfc9e4e706eaad758a579b (diff) |
fix compiler warning: zero used for undefined preprocessing identifier
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index d6db92fb7..7a0960f03 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1779,7 +1779,8 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); #include "multi.h" /* the typechecker doesn't work in C++ (yet) */ -#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && \ +#if defined(__GNUC__) && defined(__GNUC_MINOR__) && \ + ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && \ !defined(__cplusplus) && !defined(CURL_DISABLE_TYPECHECK) #include "typecheck-gcc.h" #else |