changeset 21592:ae0f4c4e4d9d

__CPU__ will be x86-64 under amd64 and fail the check "#if __CPU__ > 386". patch by Zuxy Meng, zuxy.meng gmail com
author diego
date Wed, 13 Dec 2006 11:23:15 +0000
parents 8f2abfd4e082
children 1dd2ccc63d0c
files dvdread/bswap.h dvdread/libdvdread_changes.diff
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dvdread/bswap.h	Wed Dec 13 10:59:14 2006 +0000
+++ b/dvdread/bswap.h	Wed Dec 13 11:23:15 2006 +0000
@@ -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
--- a/dvdread/libdvdread_changes.diff	Wed Dec 13 10:59:14 2006 +0000
+++ b/dvdread/libdvdread_changes.diff	Wed Dec 13 11:23:15 2006 +0000
@@ -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