mirror of
https://github.com/curl/curl.git
synced 2026-05-18 05:56:22 +03:00
allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as
discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html
This commit is contained in:
parent
6a33a4456e
commit
af41ada7aa
3 changed files with 8 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue