X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fmacro.h;h=97eebbc88be174349e31b24e36bd1db4533d2f7e;hp=1c0aa915ad3e86387ef8d949794eda090222b175;hb=19d1e4eeb6501b77ba34a29e6a632fcf775fccd5;hpb=dbfd9122583baea644fc727466ce30a6b5fd2706 diff --git a/src/shared/macro.h b/src/shared/macro.h index 1c0aa915a..97eebbc88 100644 --- a/src/shared/macro.h +++ b/src/shared/macro.h @@ -45,6 +45,7 @@ #define _hidden_ __attribute__ ((visibility("hidden"))) #define _weakref_(x) __attribute__((weakref(#x))) #define _introspect_(x) __attribute__((section("introspect." x))) +#define _alignas_(x) __attribute__((aligned(__alignof(x)))) #define XSTRINGIFY(x) #x #define STRINGIFY(x) XSTRINGIFY(x)