]> git.pld-linux.org Git - packages/opencv.git/blob - no-cxx-in-c-header.patch
- rel 1
[packages/opencv.git] / no-cxx-in-c-header.patch
1 --- opencv-4.5.1/modules/core/include/opencv2/core/cvdef.h~     2020-12-21 21:01:38.000000000 +0100
2 +++ opencv-4.5.1/modules/core/include/opencv2/core/cvdef.h      2021-03-07 19:39:51.440476065 +0100
3 @@ -719,6 +719,7 @@
4  /****************************************************************************************\
5  *                                    C++ 11                                              *
6  \****************************************************************************************/
7 +#ifdef __cplusplus
8  #ifndef CV_CXX11
9  #  if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
10  #    define CV_CXX11 1
11 @@ -760,6 +761,7 @@
12  #ifndef CV_CONSTEXPR
13  #  define CV_CONSTEXPR
14  #endif
15 +#endif
16  
17  // Integer types portatibility
18  #ifdef OPENCV_STDINT_HEADER
This page took 0.051559 seconds and 3 git commands to generate.