[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 13/13: mhd_panic: minor macro improvement
From: |
gnunet |
Subject: |
[libmicrohttpd] 13/13: mhd_panic: minor macro improvement |
Date: |
Mon, 16 May 2022 20:15:02 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 129e28d390d5163384ef175fe4ad41735144c699
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon May 16 21:06:17 2022 +0300
mhd_panic: minor macro improvement
---
src/microhttpd/mhd_panic.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/mhd_panic.h b/src/microhttpd/mhd_panic.h
index 623639b4..19fe9cd8 100644
--- a/src/microhttpd/mhd_panic.h
+++ b/src/microhttpd/mhd_panic.h
@@ -37,8 +37,8 @@
#endif /* MHD_PANIC */
/* If we have Clang or gcc >= 4.5, use __builtin_unreachable() */
-#if defined(__clang__) || (__GNUC__ > 4) || \
- (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
+#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 4) || \
+ (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 5)
#define BUILTIN_NOT_REACHED __builtin_unreachable ()
#elif defined(_MSC_FULL_VER)
#define BUILTIN_NOT_REACHED __assume (0)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (6c3d5864 -> 129e28d3), gnunet, 2022/05/16
- [libmicrohttpd] 01/13: digestauth: simplified overflow check, gnunet, 2022/05/16
- [libmicrohttpd] 03/13: configure: use correct quoting in OS detection part, gnunet, 2022/05/16
- [libmicrohttpd] 02/13: configure: additional warning flags, gnunet, 2022/05/16
- [libmicrohttpd] 06/13: internal.h: fixed incorrect use of enum value as preprocessor value, gnunet, 2022/05/16
- [libmicrohttpd] 04/13: configure: use standard Linux settings for Linux on ARM, gnunet, 2022/05/16
- [libmicrohttpd] 08/13: Added missing in 'switch' enum values (no functional change), gnunet, 2022/05/16
- [libmicrohttpd] 11/13: MHD_connection_update_event_loop_info(): more complete TLS states handling, gnunet, 2022/05/16
- [libmicrohttpd] 05/13: Use '#ifdef PARAM' instead of '#if PARAM' for configuration options, gnunet, 2022/05/16
- [libmicrohttpd] 09/13: daemon options: added missing HTTPS-related options error reports for non-HTTPS builds, gnunet, 2022/05/16
- [libmicrohttpd] 13/13: mhd_panic: minor macro improvement,
gnunet <=
- [libmicrohttpd] 07/13: Fixed uninitialized value used in assert, gnunet, 2022/05/16
- [libmicrohttpd] 10/13: MHD_connection_handle_read(): refactored states handling at the end of the function, gnunet, 2022/05/16
- [libmicrohttpd] 12/13: W32 projects: enabled more warnings, gnunet, 2022/05/16