[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 18/26: mhd_bithelpers: minor improvement of internal mac
From: |
gnunet |
Subject: |
[libmicrohttpd] 18/26: mhd_bithelpers: minor improvement of internal macros |
Date: |
Mon, 25 Apr 2022 15:08:42 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit a08e765fc403d74b4ea09a5702dca14bc688dc0c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 23 20:13:29 2022 +0300
mhd_bithelpers: minor improvement of internal macros
---
src/microhttpd/mhd_bithelpers.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/microhttpd/mhd_bithelpers.h b/src/microhttpd/mhd_bithelpers.h
index ed0c2e0c..eddd67f0 100644
--- a/src/microhttpd/mhd_bithelpers.h
+++ b/src/microhttpd/mhd_bithelpers.h
@@ -42,6 +42,7 @@
#ifndef __has_builtin
/* Avoid precompiler errors with non-clang */
# define __has_builtin(x) 0
+# define _MHD_has_builtin_dummy 1
#endif
@@ -328,5 +329,10 @@ _MHD_ROTL32 (uint32_t value32, int bits)
#endif /* ! __builtin_rotateleft32 */
+#ifdef _MHD_has_builtin_dummy
+/* Remove macro function replacement to avoid misdetection in files which
+ * include this header */
+# undef __has_builtin
+#endif
#endif /* ! MHD_BITHELPERS_H */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 12/26: src/examples: fixed printf format specifiers, (continued)
- [libmicrohttpd] 12/26: src/examples: fixed printf format specifiers, gnunet, 2022/04/25
- [libmicrohttpd] 15/26: doc/examples: avoid usage of unportable functions, gnunet, 2022/04/25
- [libmicrohttpd] 09/26: Fixed many macros, gnunet, 2022/04/25
- [libmicrohttpd] 20/26: sha256.c: fixed coding style, gnunet, 2022/04/25
- [libmicrohttpd] 26/26: test_postprocessor: fixed typo, gnunet, 2022/04/25
- [libmicrohttpd] 22/26: sha1.c: fixed coding style, gnunet, 2022/04/25
- [libmicrohttpd] 24/26: MHD_get_daemon_info(): fixed unaligned memory access, gnunet, 2022/04/25
- [libmicrohttpd] 16/26: daemon.c: fixed possible unaligned access to 'struct sockaddr_in', gnunet, 2022/04/25
- [libmicrohttpd] 23/26: sha1.c: muted alignment warnings, gnunet, 2022/04/25
- [libmicrohttpd] 25/26: Removed unneeded anymore alignment workarounds., gnunet, 2022/04/25
- [libmicrohttpd] 18/26: mhd_bithelpers: minor improvement of internal macros,
gnunet <=
- [libmicrohttpd] 17/26: MHD_get_connection_info(): Fixed possible unaligned access, gnunet, 2022/04/25
- [libmicrohttpd] 21/26: sha256.c: muted alignment warnings, gnunet, 2022/04/25