From 0804812cc2c659802fb8c070ab4f64957eb4e26c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 13 Sep 2022 17:29:36 -0500 Subject: stdalign: alignas and alignof are C23 keywords MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * m4/stdalign.m4 (gl_STDALIGN_H): Check also whether alignas and alignof are keywords and so don’t need stdalign.h, and define HAVE_C_ALIGNASOF if so. If not, arrange for config.h to #define alignas and alignof by including . * modules/stdalign: No need to include . * tests/test-stdalign.c: Do not include stdalign.h. --- modules/stdalign | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/stdalign') diff --git a/modules/stdalign b/modules/stdalign index 24c79ec493..af038180fa 100644 --- a/modules/stdalign +++ b/modules/stdalign @@ -1,5 +1,5 @@ Description: -A that nearly conforms to ISO C11 and C++11. +alignas and alignof that are like C23 and C++11. Files: lib/stdalign.in.h @@ -30,7 +30,6 @@ endif MOSTLYCLEANFILES += stdalign.h stdalign.h-t Include: - License: LGPLv2+ -- cgit v1.2.1