diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/attributes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xine-utils/attributes.h b/src/xine-utils/attributes.h index 27c6fc5bc..649c1aa43 100644 --- a/src/xine-utils/attributes.h +++ b/src/xine-utils/attributes.h @@ -69,4 +69,10 @@ # define XINE_FORMAT_PRINTF_ARG(fmt) #endif +#ifdef SUPPORT_ATTRIBUTE_PACKED +# define XINE_PACKED __attribute__((packed)) +#else +# define XINE_PACKED +#endif + #endif /* ATTRIBUTE_H_ */ |