mirror of
https://github.com/opencv/opencv.git
synced 2026-11-23 01:43:29 -06:00
core: Add the missing <climits> include to intrin_lsx.hpp.
When compiling with GCC 16.2.0, I encountered the following error: modules/core/include/opencv2/core/hal/intrin_forward.hpp:204:49: error: 'INT_MAX' was not declared in this scope 204 | SV32 sat = v_xor(v_shr<31>(hi), SETALL_S32(INT_MAX)); \
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#define OPENCV_HAL_INTRIN_LSX_HPP
|
||||
|
||||
#include <lsxintrin.h>
|
||||
#include <climits>
|
||||
|
||||
#define CV_SIMD128 1
|
||||
#define CV_SIMD128_64F 1
|
||||
|
||||
Reference in New Issue
Block a user