mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
core(build): fix i386 compilation
This commit is contained in:
parent
3d5ca3ef75
commit
e83438c23d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user