[MPlayer-cvslog] r21608 - in trunk/dvdread: bswap.h libdvdread_changes.diff
diego
subversion at mplayerhq.hu
Wed Dec 13 12:23:15 CET 2006
Author: diego
Date: Wed Dec 13 12:23:15 2006
New Revision: 21608
Modified:
trunk/dvdread/bswap.h
trunk/dvdread/libdvdread_changes.diff
Log:
__CPU__ will be x86-64 under amd64 and fail the check "#if __CPU__ > 386".
patch by Zuxy Meng, zuxy.meng gmail com
Modified: trunk/dvdread/bswap.h
==============================================================================
--- trunk/dvdread/bswap.h (original)
+++ trunk/dvdread/bswap.h Wed Dec 13 12:23:15 2006
@@ -82,7 +82,7 @@
inline static unsigned int bswap_32(unsigned int x)
{
__asm(
-#if __CPU__ > 386
+#if __CPU__ != 386
"bswap %0":
"=r" (x) :
#else
Modified: trunk/dvdread/libdvdread_changes.diff
==============================================================================
--- trunk/dvdread/libdvdread_changes.diff (original)
+++ trunk/dvdread/libdvdread_changes.diff Wed Dec 13 12:23:15 2006
@@ -24,7 +24,7 @@
+inline static unsigned int bswap_32(unsigned int x)
+{
+ __asm(
-+#if __CPU__ > 386
++#if __CPU__ != 386
+ "bswap %0":
+ "=r" (x) :
+#else
More information about the MPlayer-cvslog
mailing list