# HG changeset patch # User diego # Date 1223225275 0 # Node ID 49d5420c5698c57a630d9fa18025fa1fe60da740 # Parent 2f1ba3093d7daa94fa1544497313f85f79bc6879 Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro. diff -r 2f1ba3093d7d -r 49d5420c5698 libswscale/rgb2rgb_template.c --- a/libswscale/rgb2rgb_template.c Sun Oct 05 13:43:45 2008 +0000 +++ b/libswscale/rgb2rgb_template.c Sun Oct 05 16:47:55 2008 +0000 @@ -28,7 +28,6 @@ */ #include -#include /* for __WORDSIZE */ #undef PREFETCH #undef MOVNTQ @@ -1584,7 +1583,7 @@ ysrc += lumStride; dst += dstStride; -#elif __WORDSIZE >= 64 +#elif HAVE_FAST_64BIT int i; uint64_t *ldst = (uint64_t *) dst; const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc; @@ -1690,7 +1689,7 @@ #else //FIXME adapt the Alpha ASM code from yv12->yuy2 -#if __WORDSIZE >= 64 +#if HAVE_FAST_64BIT int i; uint64_t *ldst = (uint64_t *) dst; const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;