gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]