libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 403f3b8e6ad06ff556029e23d8c4c7d519e8c29c
parent de88268e7369c0d70bdf6298d78e31f57bcfacb7
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sat, 24 Sep 2022 18:28:06 +0300

mhd_options: use standard _MHD_EXTERN if file used outside the library

Diffstat:
Msrc/include/mhd_options.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/include/mhd_options.h b/src/include/mhd_options.h @@ -41,6 +41,9 @@ */ #define _(String) (String) +#if defined(_MHD_EXTERN) && ! defined(BUILDING_MHD_LIB) +#undef _MHD_EXTERN +#endif /* _MHD_EXTERN && ! BUILDING_MHD_LIB */ #ifndef _MHD_EXTERN #if defined(BUILDING_MHD_LIB) && defined(_WIN32) && \