From af41ada7aa5ee4db20107c8bd4a06fec3e422fb8 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Mon, 14 Apr 2008 19:01:41 +0000 Subject: allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html --- include/curl/curl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index bd188cdd1..ab6c863c4 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1801,7 +1801,7 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); /* the typechecker doesn't work in C++ (yet) */ #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && \ - !defined(__cplusplus) + !defined(__cplusplus) && !defined(CURL_DISABLE_TYPECHECK) #include "typecheck-gcc.h" #else #if defined(__STDC__) && (__STDC__ >= 1) -- cgit v1.2.3