core: OPENCV_INCLUDE_PORT_FILE for custom platform configuration
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 11 Dec 2019 00:27:13 +0000 (00:27 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Wed, 11 Dec 2019 00:31:45 +0000 (00:31 +0000)
modules/core/include/opencv2/core/cvdef.h

index ea446b3..468deab 100644 (file)
 //! @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))