diff --git a/modules/core/include/opencv2/core/internal.hpp b/modules/core/include/opencv2/core/internal.hpp index 43107ea158..3e30f9d8c8 100644 --- a/modules/core/include/opencv2/core/internal.hpp +++ b/modules/core/include/opencv2/core/internal.hpp @@ -294,7 +294,9 @@ CV_INLINE IppiSize ippiSize(int width, int height) #define CV_BIG_UINT(n) n##ULL #endif +#ifndef CV_IMPL #define CV_IMPL CV_EXTERN_C +#endif #define CV_DBG_BREAK() { volatile int* crashMe = 0; *crashMe = 0; }