[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 180/335: microhttpd2_portability.h: simplified macros fo
From: |
gnunet |
Subject: |
[libmicrohttpd] 180/335: microhttpd2_portability.h: simplified macros for MHD_EXTERN_ |
Date: |
Sat, 27 Jul 2024 22:01:16 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit 2ef5533654d9c8b824c6f010507944892c7b8483
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu May 16 15:38:17 2024 +0200
microhttpd2_portability.h: simplified macros for MHD_EXTERN_
---
src/include/microhttpd2_portability.h | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/include/microhttpd2_portability.h
b/src/include/microhttpd2_portability.h
index b05d8fed..9778bf40 100644
--- a/src/include/microhttpd2_portability.h
+++ b/src/include/microhttpd2_portability.h
@@ -49,16 +49,12 @@ MHD_C_DECLRATIONS_START_HERE_
MHD_STATIC_CAST_ (size_t,~MHD_STATIC_CAST_(size_t, 0))
+/* Define MHD_W32DLL when using MHD as W32 .DLL to speed up linker a little */
#ifndef MHD_EXTERN_
-# if ! defined(_WIN32)
+# if ! defined(_WIN32) || ! defined(MHD_W32LIB)
# define MHD_EXTERN_ extern
-# else /* defined(_WIN32) */
-# if ! defined(MHD_W32LIB)
-# define MHD_EXTERN_ extern
-# else /* defined(_WIN32) && efined(MHD_W32LIB) */
-/* Define MHD_W32DLL when using MHD as W32 .DLL to speed up linker a little */
-# define MHD_EXTERN_ extern __declspec(dllimport)
-# endif
+# else /* defined(_WIN32) && defined(MHD_W32LIB) */
+# define MHD_EXTERN_ extern __declspec(dllimport)
# endif
#endif
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 177/335: sys_malloc.h: new internal header, (continued)
- [libmicrohttpd] 177/335: sys_malloc.h: new internal header, gnunet, 2024/07/27
- [libmicrohttpd] 185/335: GENERATED: fixed comment in comment, gnunet, 2024/07/27
- [libmicrohttpd] 182/335: compat_calloc.{h,c}: implementation of calloc() replacement, gnunet, 2024/07/27
- [libmicrohttpd] 165/335: configure: detect more function attributes, gnunet, 2024/07/27
- [libmicrohttpd] 161/335: configure: check for more mandatory headers, gnunet, 2024/07/27
- [libmicrohttpd] 171/335: mhd_socket_type.h: new internal header, renamed MHD_socket -> MHD_Socket, gnunet, 2024/07/27
- [libmicrohttpd] 186/335: GENERATED: guard header double inclusion, gnunet, 2024/07/27
- [libmicrohttpd] 178/335: microhttpd2_portability.h: dropped wrong comment, gnunet, 2024/07/27
- [libmicrohttpd] 168/335: mhd_sys_options.h: use function attribute "used", gnunet, 2024/07/27
- [libmicrohttpd] 188/335: GENERATED: use proper includes in .c, gnunet, 2024/07/27
- [libmicrohttpd] 180/335: microhttpd2_portability.h: simplified macros for MHD_EXTERN_,
gnunet <=
- [libmicrohttpd] 187/335: GENERATED: use proper includes in headers, gnunet, 2024/07/27
- [libmicrohttpd] 172/335: sys_base_types.h: new internal header, gnunet, 2024/07/27
- [libmicrohttpd] 192/335: GENERATED: check the state before using the options, gnunet, 2024/07/27
- [libmicrohttpd] 184/335: GENERATED: fixed License version, gnunet, 2024/07/27
- [libmicrohttpd] 179/335: microhttpd2_portability.h: lowered scope of included system headers, minor refactoring, gnunet, 2024/07/27
- [libmicrohttpd] 173/335: sys_bool_type.h: new internal header, gnunet, 2024/07/27
- [libmicrohttpd] 196/335: GENERATED: copy some temporal pointers, gnunet, 2024/07/27
- [libmicrohttpd] 175/335: mhd_sys_options.h: improved doxy, gnunet, 2024/07/27
- [libmicrohttpd] 181/335: microhttpd2_portability.h: added FIXME comments, gnunet, 2024/07/27
- [libmicrohttpd] 195/335: GENERATED: use pointer for the daemon settings, gnunet, 2024/07/27