Commit af446d46 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

ifo_types.h: fix 'warning: `gcc_struct' attribute directive ignored'

gcc_struct has been supported since gcc 3.4.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 574b886b
......@@ -32,7 +32,11 @@
#if defined(__GNUC__)
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
#else
#define ATTRIBUTE_PACKED __attribute__ ((packed))
#endif
#define PRAGMA_PACK 0
#endif
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment