mirror of
https://github.com/curl/curl.git
synced 2026-08-09 16:24:18 +03:00
Added special define for tests that directly include libcurl sources.
This commit is contained in:
parent
3733fa02ee
commit
020955ebc2
2 changed files with 6 additions and 1 deletions
|
|
@ -93,6 +93,10 @@ extern "C" {
|
|||
|
||||
typedef void CURL;
|
||||
|
||||
#ifdef USES_DIRECT_CURL_UTILITIES
|
||||
#define CURL_EXTERN
|
||||
#else /* USES_DIRECT_CURL_UTILITIES */
|
||||
|
||||
/*
|
||||
* Decorate exportable functions for Win32 and Symbian OS DLL linking.
|
||||
* This avoids using a .def file for building libcurl.dll.
|
||||
|
|
@ -118,6 +122,7 @@ typedef void CURL;
|
|||
#define CURL_EXTERN
|
||||
#endif
|
||||
#endif
|
||||
#endif /* USES_DIRECT_CURL_UTILITIES */
|
||||
|
||||
#ifndef curl_socket_typedef
|
||||
/* socket typedef */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue