diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-14 16:19:09 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-14 16:19:09 +0200 |
commit | bef22ce53428befb105b342fed2d8d76213793e2 (patch) | |
tree | 313e1d0604ee8a2d6893dc146bafd73b57f1e932 | |
parent | 50775180cf63cc4bf9f83fedf3808c9480a3c1f4 (diff) | |
download | xine-lib-bef22ce53428befb105b342fed2d8d76213793e2.tar.gz xine-lib-bef22ce53428befb105b342fed2d8d76213793e2.tar.bz2 |
Define XINE_PACKED also in attributes.h for frontends.
-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_ */ |