From bef22ce53428befb105b342fed2d8d76213793e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 14 Apr 2007 16:19:09 +0200 Subject: Define XINE_PACKED also in attributes.h for frontends. --- src/xine-utils/attributes.h | 6 ++++++ 1 file changed, 6 insertions(+) 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_ */ -- cgit v1.2.3