diff --git a/modules/imgproc/src/box_filter.simd.hpp b/modules/imgproc/src/box_filter.simd.hpp index 1d45c63d91..3c937e608d 100644 --- a/modules/imgproc/src/box_filter.simd.hpp +++ b/modules/imgproc/src/box_filter.simd.hpp @@ -65,7 +65,7 @@ Ptr getSqrRowSumFilter(int srcType, int sumType, int ksize, int a \****************************************************************************************/ namespace { -#if CV_NEON_AARCH64 +#if CV_NEON template struct RowSumCn1Neon { @@ -151,7 +151,7 @@ struct RowSumCn1Neon return true; } }; -#endif // CV_NEON_AARCH64 +#endif // CV_NEON template struct RowSum : @@ -190,7 +190,7 @@ struct RowSum : } else if( cn == 1 ) { - #if CV_NEON_AARCH64 + #if CV_NEON if (!RowSumCn1Neon::apply(S, D, width, ksz_cn)) #endif {