35 #define MHD_COMPAT_H 1 46 #define MHD_strerror_(errnum) strerror ((errnum)) 49 #if defined(HAVE_SNPRINTF) 50 #define MHD_snprintf_ snprintf 52 #if defined(_WIN32) && ! defined(__CYGWIN__) 54 int W32_snprintf (
char *__restrict s,
size_t n,
const char *__restrict format,
57 #define MHD_snprintf_ W32_snprintf 60 Your platform does not support snprintf() and MHD does not know how to emulate it on your platform. 69 #define MHD_random_() random () 76 #define MHD_random_() ( (((long) rand ()) << 15) + (long) rand () ) 84 #define MHD_calloc_(n,s) calloc ((n),(s)) additional automatic macros for MHD_config.h
void * MHD_calloc_(size_t nelem, size_t elsize)