core: OPENCV_INCLUDE_PORT_FILE for custom platform configuration

This commit is contained in:
Alexander Alekhin 2019-12-11 00:27:13 +00:00
parent e47f3e5bcc
commit a675c4937a

View File

@ -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))