includes: avoid duplicate memory callback typdefs even harder

This commit is contained in:
Daniel Stenberg 2016-04-18 15:04:17 +02:00
parent ab493af731
commit a9a1d303f5
2 changed files with 3 additions and 0 deletions

View file

@ -95,6 +95,7 @@ typedef void (*curl_free_callback)(void *ptr);
typedef void *(*curl_realloc_callback)(void *ptr, size_t size);
typedef char *(*curl_strdup_callback)(const char *str);
typedef void *(*curl_calloc_callback)(size_t nmemb, size_t size);
#define CURL_DID_MEMORY_FUNC_TYPEDEFS
#endif
extern curl_malloc_callback Curl_cmalloc;