X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fmacros.h;h=1771d236c2daa3eeea5a807bef5ddc83cbb6d677;hb=4d86847e8786d4902dceeb1dff91791112d2c396;hp=81f901c2d5d171bda6a6f064124d8c49bbf76944;hpb=cf3f19ae5f634bf07dcdb771e66d40f805700a17;p=lttng-tools.git 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 */