curl_memory.h: introduce CURLX_NO_MEMORY_CALLBACKS usage possibility
This commit alone does not fix anything nor modifies existing interfaces or behaviors, although it is a prerequisite for other fixes.
This commit is contained in:
@@ -22,6 +22,14 @@
|
||||
|
||||
#include "curl_setup.h"
|
||||
|
||||
/*
|
||||
* See comment in curl_memory.h for the explanation of this sanity check.
|
||||
*/
|
||||
|
||||
#ifdef CURLX_NO_MEMORY_CALLBACKS
|
||||
#error "libcurl shall not ever be built with CURLX_NO_MEMORY_CALLBACKS defined"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user