aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-24 18:28:06 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-25 18:39:40 +0300
commit403f3b8e6ad06ff556029e23d8c4c7d519e8c29c (patch)
tree8272e730eb5a6f8c064ea44279ff75c710603251
parentde88268e7369c0d70bdf6298d78e31f57bcfacb7 (diff)
downloadlibmicrohttpd-403f3b8e6ad06ff556029e23d8c4c7d519e8c29c.tar.gz
libmicrohttpd-403f3b8e6ad06ff556029e23d8c4c7d519e8c29c.zip
mhd_options: use standard _MHD_EXTERN if file used outside the library
-rw-r--r--src/include/mhd_options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/mhd_options.h b/src/include/mhd_options.h
index 9184e1ac..dbfc2409 100644
--- a/src/include/mhd_options.h
+++ b/src/include/mhd_options.h
@@ -41,6 +41,9 @@
41 */ 41 */
42#define _(String) (String) 42#define _(String) (String)
43 43
44#if defined(_MHD_EXTERN) && ! defined(BUILDING_MHD_LIB)
45#undef _MHD_EXTERN
46#endif /* _MHD_EXTERN && ! BUILDING_MHD_LIB */
44 47
45#ifndef _MHD_EXTERN 48#ifndef _MHD_EXTERN
46#if defined(BUILDING_MHD_LIB) && defined(_WIN32) && \ 49#if defined(BUILDING_MHD_LIB) && defined(_WIN32) && \