# HG changeset patch # User diego # Date 1240686594 0 # Node ID a49f45515e081148210eda188e5ae5d402b96558 # Parent 3a157edc770d635d299f30efff906b337fc976ca Replace glibc-specific __WORDSIZE preprocessor check with HAVE_FAST_64BIT. The latter is properly set by configure. diff -r 3a157edc770d -r a49f45515e08 libmpcodecs/vf_divtc.c --- a/libmpcodecs/vf_divtc.c Sat Apr 25 18:43:35 2009 +0000 +++ b/libmpcodecs/vf_divtc.c Sat Apr 25 19:09:54 2009 +0000 @@ -128,7 +128,7 @@ unsigned int shift; uint32_t sum, t; unsigned char *e, *e2; -#if __WORDSIZE==64 +#if HAVE_FAST_64BIT typedef uint64_t wsum_t; #else typedef uint32_t wsum_t; @@ -143,7 +143,7 @@ for(wsum=0, e2=e-sizeof(wsum_t)+1; p>32^wsum)); #else t=be2me_32(wsum);