Advertisement
Guest User

Untitled

a guest
Aug 4th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. » git diff 0-1/usr/include/curl/curl.h 1-1/usr/include/curl/curl.h
  2. diff --git a/0-1/usr/include/curl/curl.h b/1-1/usr/include/curl/curl.h
  3. index 516ede6..7fd6d1f 100644
  4. --- a/0-1/usr/include/curl/curl.h
  5. +++ b/1-1/usr/include/curl/curl.h
  6. @@ -91,7 +91,13 @@
  7. extern "C" {
  8. #endif
  9.  
  10. +#if defined(BUILDING_LIBCURL) || defined(CURL_STRICTER)
  11. typedef struct Curl_easy CURL;
  12. +typedef struct Curl_share CURLSH;
  13. +#else
  14. +typedef void CURL;
  15. +typedef void CURLSH;
  16. +#endif
  17.  
  18. /*
  19. * libcurl external API function linkage decorations.
  20. @@ -2258,7 +2264,6 @@ typedef void (*curl_unlock_function)(CURL *handle,
  21. curl_lock_data data,
  22. void *userptr);
  23.  
  24. -typedef struct Curl_share CURLSH;
  25.  
  26. typedef enum {
  27. CURLSHE_OK, /* all is fine */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement