# HG changeset patch # User diego # Date 1270547207 0 # Node ID 8b6727d2d47991c3ac99dfb48b5a2c23ee92ee95 # Parent 38a8f88fab42e73d11dcbfe0a0e866397f387482 cosmetics: Reorder some x86-related preprocessor conditionals. This fixes two of the following warnings on non-x86 machines: libmpcodecs/vf_gradfun.c:388:5: warning: "HAVE_EBX_AVAILABLE" is not defined diff -r 38a8f88fab42 -r 8b6727d2d479 libmpcodecs/vf_gradfun.c --- a/libmpcodecs/vf_gradfun.c Mon Apr 05 19:35:35 2010 +0000 +++ b/libmpcodecs/vf_gradfun.c Tue Apr 06 09:46:47 2010 +0000 @@ -188,7 +188,7 @@ } #endif // HAVE_SSSE3 -#if HAVE_6REGS && HAVE_SSE2 +#if HAVE_SSE2 && HAVE_6REGS #define BLURV(load)\ intptr_t x = -2*width;\ __asm__ volatile(\ @@ -385,7 +385,7 @@ vf->priv->blur_line = blur_line_c; vf->priv->filter_line = filter_line_c; -#if HAVE_6REGS && HAVE_SSE2 +#if HAVE_SSE2 && HAVE_6REGS if (gCpuCaps.hasSSE2) vf->priv->blur_line = blur_line_sse2; #endif