COMP: Do not #include files inside extern "C" {} blocks.
This commit is contained in:
parent
144c605525
commit
d7eeead8dc
@ -139,6 +139,10 @@ extern "C" {
|
|||||||
#define WIN32 1
|
#define WIN32 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__GNUC__) && \
|
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__GNUC__) && \
|
||||||
!defined(__CYGWIN__) || defined(__MINGW32__)
|
!defined(__CYGWIN__) || defined(__MINGW32__)
|
||||||
#if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H))
|
#if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H))
|
||||||
@ -164,6 +168,10 @@ extern "C" {
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef curl_socket_typedef
|
#ifndef curl_socket_typedef
|
||||||
/* socket typedef */
|
/* socket typedef */
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
@ -1121,10 +1129,17 @@ typedef enum {
|
|||||||
CURL_TIMECOND_LAST
|
CURL_TIMECOND_LAST
|
||||||
} curl_TimeCond;
|
} curl_TimeCond;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __BEOS__
|
#ifdef __BEOS__
|
||||||
#include <support/SupportDefs.h>
|
#include <support/SupportDefs.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* curl_strequal() and curl_strnequal() are subject for removal in a future
|
/* curl_strequal() and curl_strnequal() are subject for removal in a future
|
||||||
libcurl, see lib/README.curlx for details */
|
libcurl, see lib/README.curlx for details */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user