From d0797a7a15872d893d541ec7772d86fddada60ea Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Mon, 1 Aug 2022 17:21:37 +0200 Subject: [PATCH] GCC 3.2 and newer support __attribute__(aligned(...)) --- macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.h b/macros.h index e85837b..69420be 100644 --- a/macros.h +++ b/macros.h @@ -118,7 +118,7 @@ /* aligned attribute */ /* note that C11's alignas will only do the job once DR 444 is implemented */ -#if GNUC_CHECK(4, 9) || __has_attribute(aligned) +#if GNUC_CHECK(3, 2) || __has_attribute(aligned) #define ATTR_ALIGNED(i) __attribute__((aligned((i)))) #define HAVE_USEFUL_ATTR_ALIGNED #elif defined(_MSC_VER)