mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +03:00
curl_global_init_mem() allows the memory functions to be replaced.
memory.h is included everywhere for this.
This commit is contained in:
parent
434bc13812
commit
bbafb2eb27
48 changed files with 295 additions and 271 deletions
|
|
@ -73,7 +73,6 @@
|
|||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#include "urldata.h"
|
||||
|
|
@ -85,14 +84,13 @@
|
|||
#include "speedcheck.h"
|
||||
#include "getinfo.h"
|
||||
#include "transfer.h" /* for Curl_readwrite_init() */
|
||||
#include "memory.h"
|
||||
|
||||
#define _MPRINTF_REPLACE /* use our functions only */
|
||||
#include <curl/mprintf.h>
|
||||
|
||||
/* The last #include file should be: */
|
||||
#ifdef CURLDEBUG
|
||||
#include "memdebug.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Curl_file_connect() gets called from Curl_protocol_connect() to allow us to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue