diff options
author | Brad King <brad.king@kitware.com> | 2007-03-16 22:44:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-16 22:44:39 (GMT) |
commit | d7eeead8dc15e802b115077987237d1914ad0139 (patch) | |
tree | 2e530a09b58eb50a9fb7696f5ba5fb85f38a65ae /Utilities/cmcurl | |
parent | 144c60552566e21cd57b7be498be53b1c3a24ece (diff) | |
download | CMake-d7eeead8dc15e802b115077987237d1914ad0139.zip CMake-d7eeead8dc15e802b115077987237d1914ad0139.tar.gz CMake-d7eeead8dc15e802b115077987237d1914ad0139.tar.bz2 |
COMP: Do not #include files inside extern "C" {} blocks.
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r-- | Utilities/cmcurl/curl/curl.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Utilities/cmcurl/curl/curl.h b/Utilities/cmcurl/curl/curl.h index f410676..f6dad45 100644 --- a/Utilities/cmcurl/curl/curl.h +++ b/Utilities/cmcurl/curl/curl.h @@ -139,6 +139,10 @@ extern "C" { #define WIN32 1 #endif +#ifdef __cplusplus +} +#endif + #if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__GNUC__) && \ !defined(__CYGWIN__) || defined(__MINGW32__) #if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H)) @@ -164,6 +168,10 @@ extern "C" { #include <sys/types.h> #endif +#ifdef __cplusplus +extern "C" { +#endif + #ifndef curl_socket_typedef /* socket typedef */ #ifdef WIN32 @@ -1121,10 +1129,17 @@ typedef enum { CURL_TIMECOND_LAST } curl_TimeCond; +#ifdef __cplusplus +} +#endif + #ifdef __BEOS__ #include <support/SupportDefs.h> #endif +#ifdef __cplusplus +extern "C" { +#endif /* curl_strequal() and curl_strnequal() are subject for removal in a future libcurl, see lib/README.curlx for details */ |