__CPU__ will be x86-64 under amd64 and fail the check "#if __CPU__ > 386".

patch by Zuxy Meng, zuxy.meng gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21608 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-12-13 11:23:15 +00:00
parent fa5ab5c257
commit 2648d4d5dc
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ inline static unsigned short bswap_16(unsigned short x)
inline static unsigned int bswap_32(unsigned int x)
{
__asm(
#if __CPU__ > 386
#if __CPU__ != 386
"bswap %0":
"=r" (x) :
#else

View File

@ -24,7 +24,7 @@ diff -Naur dvdread.orig/bswap.h dvdread/bswap.h
+inline static unsigned int bswap_32(unsigned int x)
+{
+ __asm(
+#if __CPU__ > 386
+#if __CPU__ != 386
+ "bswap %0":
+ "=r" (x) :
+#else