mirror of
https://github.com/opencv/opencv.git
synced 2024-12-18 11:28:02 +08:00
Merge pull request #16434 from alalek:fix_build_i386
This commit is contained in:
commit
282a15c9f9
@ -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