From e83438c23df7c21dd5a23107dc8ad5fca95887e0 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sun, 26 Jan 2020 00:00:25 +0000 Subject: [PATCH] core(build): fix i386 compilation --- modules/core/src/parallel_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/parallel_impl.cpp b/modules/core/src/parallel_impl.cpp index 90424a6990..8638af9d67 100644 --- a/modules/core/src/parallel_impl.cpp +++ b/modules/core/src/parallel_impl.cpp @@ -52,7 +52,7 @@ DECLARE_CV_PAUSE #endif #ifndef CV_PAUSE # if defined __GNUC__ && (defined __i386__ || defined __x86_64__) -# if !defined(__SSE__) +# if !defined(__SSE2__) static inline void cv_non_sse_mm_pause() { __asm__ __volatile__ ("rep; nop"); } # define _mm_pause cv_non_sse_mm_pause # endif