Revision e7ea5e3d
configure | ||
---|---|---|
899 | 899 |
alsa_asoundlib_h |
900 | 900 |
altivec_h |
901 | 901 |
arpa_inet_h |
902 |
attribute_packed |
|
902 | 903 |
bigendian |
903 | 904 |
bswap |
904 | 905 |
closesocket |
... | ... | |
2165 | 2166 |
EOF |
2166 | 2167 |
done |
2167 | 2168 |
|
2169 |
check_cc <<EOF && enable attribute_packed |
|
2170 |
struct { int x; } __attribute__((packed)) x; |
|
2171 |
EOF |
|
2172 |
|
|
2168 | 2173 |
########################################## |
2169 | 2174 |
# SDL check |
2170 | 2175 |
|
libavutil/intreadwrite.h | ||
---|---|---|
42 | 42 |
* by per-arch headers. |
43 | 43 |
*/ |
44 | 44 |
|
45 |
#if defined(__GNUC__)
|
|
45 |
#if HAVE_ATTRIBUTE_PACKED
|
|
46 | 46 |
|
47 | 47 |
struct unaligned_64 { uint64_t l; } __attribute__((packed)); |
48 | 48 |
struct unaligned_32 { uint32_t l; } __attribute__((packed)); |
Also available in: Unified diff