From e7ea5e3d8d60b92467b653b91daf47146b49b53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Fri, 17 Jul 2009 08:21:43 +0000 Subject: [PATCH] Check for __attribute__((packed)) support Not all compilers claiming to be gcc support this attribute. Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 5 +++++ libavutil/intreadwrite.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 435f9f42e1..9a614a5abe 100755 --- a/configure +++ b/configure @@ -899,6 +899,7 @@ HAVE_LIST=" alsa_asoundlib_h altivec_h arpa_inet_h + attribute_packed bigendian bswap closesocket @@ -2165,6 +2166,10 @@ void foo(char * $restrict_keyword p); EOF done +check_cc <