From 8c7ea6fb87368054a56bd3dd3431c24e52910239 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 8 Jan 2016 17:11:09 +0000 Subject: [PATCH] opencv: remove check for OpenCV version After commit 64080e632, configure checks for all the header files that should be available in OpenCV 2.3 and later. If any of these files isn't there the OpenCV elements won't be part of the build. No need to recheck for opencv2/legacy/legacy.hpp again in gstpyramidsegment.h. Minimum supported OpenCV version must have this header and configure already checks for it. Removing check. --- ext/opencv/gstpyramidsegment.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/opencv/gstpyramidsegment.h b/ext/opencv/gstpyramidsegment.h index 20d0142d58..e715766091 100644 --- a/ext/opencv/gstpyramidsegment.h +++ b/ext/opencv/gstpyramidsegment.h @@ -48,10 +48,7 @@ #include #include - -#if CV_MAJOR_VERSION * 100 + CV_MINOR_VERSION >= 204 #include -#endif G_BEGIN_DECLS /* #defines don't like whitespacey bits */