From ebadeff0caa424013a729d3ad1e7210142bc781f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 9 Oct 2008 00:07:56 +0000 Subject: [PATCH] fix compiler warning: zero used for undefined preprocessing identifier --- include/curl/curl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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