Skip to content

Commit

Permalink
GCC 3.2 and newer support __attribute__(aligned(...))
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinas committed Aug 1, 2022
1 parent 555b6de commit d0797a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d0797a7

Please sign in to comment.