diff options
author | Benoit Neil <suky0001@free.fr> | 2009-04-08 23:35:09 +0000 |
---|---|---|
committer | Benoit Neil <suky0001@free.fr> | 2009-04-08 23:35:09 +0000 |
commit | 020955ebc26ec978fe7ebac380519d877f0c3f79 (patch) | |
tree | cd06daff65d3771e7e6a0c2a02365627a2a11e13 /include | |
parent | 3733fa02eecabd12f2274f63f3dc9a9eda308728 (diff) |
Added special define for tests that directly include libcurl sources.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 7ecb6317b..30763700d 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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 */ |