aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_compat.h')
-rw-r--r--src/microhttpd/mhd_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_compat.h b/src/microhttpd/mhd_compat.h
index 6b38a03e..4062c101 100644
--- a/src/microhttpd/mhd_compat.h
+++ b/src/microhttpd/mhd_compat.h
@@ -51,6 +51,7 @@
51/* Emulate snprintf function on W32 */ 51/* Emulate snprintf function on W32 */
52int W32_snprintf (char *__restrict s, size_t n, const char *__restrict format, 52int W32_snprintf (char *__restrict s, size_t n, const char *__restrict format,
53 ...); 53 ...);
54
54#define MHD_snprintf_ W32_snprintf 55#define MHD_snprintf_ W32_snprintf
55#else /* ! _WIN32 || __CYGWIN__ */ 56#else /* ! _WIN32 || __CYGWIN__ */
56#error \ 57#error \
@@ -84,6 +85,7 @@ int W32_snprintf (char *__restrict s, size_t n, const char *__restrict format,
84 * MHD_calloc_ is platform-independent calloc() 85 * MHD_calloc_ is platform-independent calloc()
85 */ 86 */
86void *MHD_calloc_ (size_t nelem, size_t elsize); 87void *MHD_calloc_ (size_t nelem, size_t elsize);
88
87#endif /* ! HAVE_CALLOC */ 89#endif /* ! HAVE_CALLOC */
88 90
89#endif /* MHD_COMPAT_H */ 91#endif /* MHD_COMPAT_H */