Commit e83438c2 authored by Alexander Alekhin's avatar Alexander Alekhin

core(build): fix i386 compilation

parent 3d5ca3ef
...@@ -52,7 +52,7 @@ DECLARE_CV_PAUSE ...@@ -52,7 +52,7 @@ DECLARE_CV_PAUSE
#endif #endif
#ifndef CV_PAUSE #ifndef CV_PAUSE
# if defined __GNUC__ && (defined __i386__ || defined __x86_64__) # 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"); } static inline void cv_non_sse_mm_pause() { __asm__ __volatile__ ("rep; nop"); }
# define _mm_pause cv_non_sse_mm_pause # define _mm_pause cv_non_sse_mm_pause
# endif # endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment