libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 34275b5588506d5a93bf62885fbe956636cc4b9e
parent c4bb79d9253db265fe3bfdf9f59b834b9eff843b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 20 Dec 2025 10:48:51 +0100

avoid issue with re-definition of macros

Diffstat:
Msrc/mhd2/mhd_str.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mhd2/mhd_str.h b/src/mhd2/mhd_str.h @@ -45,7 +45,11 @@ #ifndef MHD_STR_H #define MHD_STR_H 1 +// FIXME-Evgeny: both of these headers define some of the +// very same MHD-macros. We should avoid this. +#ifndef MICROHTTPD2_PORTABILITY_H #include "mhd_sys_options.h" +#endif #include "sys_base_types.h" #include "sys_bool_type.h"