Skip to content

Commit 591f427

Browse files
committed
Merge pull request opencv#16459 from nh2:patch-1
2 parents ecbba85 + 70cbc3d commit 591f427

File tree

1 file changed

+5
-0
lines changed
  • modules/core/include/opencv2/core

1 file changed

+5
-0
lines changed

modules/core/include/opencv2/core/cvdef.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,12 @@ namespace cv {
181181
#undef abs
182182
#undef Complex
183183

184+
#if defined __cplusplus
185+
#include <limits>
186+
#else
184187
#include <limits.h>
188+
#endif
189+
185190
#include "opencv2/core/hal/interface.h"
186191

187192
#if defined __ICL

0 commit comments

Comments
 (0)