X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fmacros.h;h=1771d236c2daa3eeea5a807bef5ddc83cbb6d677;hp=81f901c2d5d171bda6a6f064124d8c49bbf76944;hb=54c90d10655e559818665234f29d5d01c8640ee7;hpb=b2068598da7219137071ddd7f83ae72232060fe3 diff --git a/src/common/macros.h b/src/common/macros.h index 81f901c2d..1771d236c 100644 --- a/src/common/macros.h +++ b/src/common/macros.h @@ -60,4 +60,8 @@ #define min(a, b) ((a) < (b) ? (a) : (b)) #endif +#ifndef LTTNG_PACKED +#define LTTNG_PACKED __attribute__((__packed__)) +#endif + #endif /* _MACROS_H */