mirror of
https://github.com/curl/curl.git
synced 2026-07-23 18:57:18 +03:00
prevent compiler warnings
This commit is contained in:
parent
744d8c1006
commit
b8a6913e09
4 changed files with 8 additions and 7 deletions
|
|
@ -57,6 +57,7 @@ FILE *curl_fopen(const char *file, const char *mode, int line,
|
|||
int curl_fclose(FILE *file, int line, const char *source);
|
||||
|
||||
/* Set this symbol on the command-line, recompile all lib-sources */
|
||||
#undef strdup
|
||||
#define strdup(ptr) curl_dostrdup(ptr, __LINE__, __FILE__)
|
||||
#define malloc(size) curl_domalloc(size, __LINE__, __FILE__)
|
||||
#define realloc(ptr,size) curl_dorealloc(ptr, size, __LINE__, __FILE__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue