diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 15:04:17 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 15:04:17 +0200 |
commit | a9a1d303f5d8d2d2899c5efffe6360bfc09aa50e (patch) | |
tree | c58fac7c1c775ef1cf82f8c4a401ace16ef779a7 /lib/curl_memory.h | |
parent | ab493af731a55ca0c7936f277bfb2a24a1b723d9 (diff) | |
download | curl-a9a1d303f5d8d2d2899c5efffe6360bfc09aa50e.tar.gz |
includes: avoid duplicate memory callback typdefs even harder
Diffstat (limited to 'lib/curl_memory.h')
-rw-r--r-- | lib/curl_memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/curl_memory.h b/lib/curl_memory.h index cbe3b272b..6f792fffd 100644 --- a/lib/curl_memory.h +++ b/lib/curl_memory.h @@ -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; |