diff --git a/src/align.h b/src/align.h index 84e2909c0866c18f0f8378df9d0efc8d0f6545b5..915af33e6e2ba59be1a0849c4de0e2f1bd5b0d96 100644 --- a/src/align.h +++ b/src/align.h @@ -19,9 +19,13 @@ #ifndef SWIFT_ALIGN_H #define SWIFT_ALIGN_H +/** + * @brief The default struct alignment in SWIFT. + */ +#define SWIFT_STRUCT_ALIGNMENT 32 /** * @brief Defines alignment of structures */ -#define SWIFT_STRUCT_ALIGN __attribute__((aligned(32))) +#define SWIFT_STRUCT_ALIGN __attribute__((aligned(SWIFT_STRUCT_ALIGNMENT))) #endif /* SWIFT_ALIGN_H */