mirror of https://github.com/mpv-player/mpv
__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:
parent
fa5ab5c257
commit
2648d4d5dc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue