From: Alexander Alekhin Date: Wed, 11 Dec 2019 00:27:13 +0000 (+0000) Subject: core: OPENCV_INCLUDE_PORT_FILE for custom platform configuration X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1^2~20^2~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a675c4937ad0e668379edebe0aeee70026332a4f;p=platform%2Fupstream%2Fopencv.git core: OPENCV_INCLUDE_PORT_FILE for custom platform configuration --- diff --git a/modules/core/include/opencv2/core/cvdef.h b/modules/core/include/opencv2/core/cvdef.h index ea446b3..468deab 100644 --- a/modules/core/include/opencv2/core/cvdef.h +++ b/modules/core/include/opencv2/core/cvdef.h @@ -48,6 +48,10 @@ //! @addtogroup core_utils //! @{ +#ifdef OPENCV_INCLUDE_PORT_FILE // User-provided header file with custom platform configuration +#include OPENCV_INCLUDE_PORT_FILE +#endif + #if !defined CV_DOXYGEN && !defined CV_IGNORE_DEBUG_BUILD_GUARD #if (defined(_MSC_VER) && (defined(DEBUG) || defined(_DEBUG))) || \ (defined(_GLIBCXX_DEBUG) || defined(_GLIBCXX_DEBUG_PEDANTIC))