Originally committed as revision 21522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård authored on 2010/01/29 12:26:12... | ... |
@@ -985,6 +985,7 @@ HAVE_LIST=" |
985 | 985 |
alsa_asoundlib_h |
986 | 986 |
altivec_h |
987 | 987 |
arpa_inet_h |
988 |
+ attribute_may_alias |
|
988 | 989 |
attribute_packed |
989 | 990 |
bswap |
990 | 991 |
closesocket |
... | ... |
@@ -2298,6 +2299,10 @@ check_cc <<EOF && enable attribute_packed |
2298 | 2298 |
struct { int x; } __attribute__((packed)) x; |
2299 | 2299 |
EOF |
2300 | 2300 |
|
2301 |
+check_cc <<EOF && enable attribute_may_alias |
|
2302 |
+union { int x; } __attribute__((may_alias)) x; |
|
2303 |
+EOF |
|
2304 |
+ |
|
2301 | 2305 |
check_cc <<EOF || die "endian test failed" |
2302 | 2306 |
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; |
2303 | 2307 |
EOF |