summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-14 16:19:09 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-14 16:19:09 +0200
commitbef22ce53428befb105b342fed2d8d76213793e2 (patch)
tree313e1d0604ee8a2d6893dc146bafd73b57f1e932
parent50775180cf63cc4bf9f83fedf3808c9480a3c1f4 (diff)
downloadxine-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.h6
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_ */