gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd2] 08/12: configure: improved test for alignof() detection


From: Admin
Subject: [libmicrohttpd2] 08/12: configure: improved test for alignof() detection
Date: Fri, 06 Jun 2025 16:01:16 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd2.

commit c2489bde82a548d0f724af1bacc04797823d5f97
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
AuthorDate: Thu Jun 5 00:51:32 2025 +0200

    configure: improved test for alignof() detection
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ce9934f..8ec3a17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1501,7 +1501,7 @@ AC_CACHE_CHECK([[for C11 'alignof()' support]], 
[[mhd_cv_c_alignof]],
 #endif
                        ]], [[
                          /* Should fail if 'alignof()' works */
-                         int var1[alignof(nonexisting_type) - 1];
+                         int var1[alignof(nonexisting_type)];
 
                          /* Mute compiler warnings */
                          var1[0] = 1;

-- 
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]