diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index e6cb3f4c8f8010b9897143df68017e7a44ffaf2b..82533b494ef7a09876e7a74793856effd18f0976 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -913,14 +913,12 @@ static inline void yuv2packedXinC(SwsContext *c, int16_t *lumFilter, int16_t **l
 #include "swscale_template.c"
 #endif
 
-#ifdef ARCH_POWERPC
 #ifdef COMPILE_ALTIVEC
 #undef RENAME
 #define HAVE_ALTIVEC
 #define RENAME(a) a ## _altivec
 #include "swscale_template.c"
 #endif
-#endif //ARCH_POWERPC
 
 #if defined(ARCH_X86)