fix: correct ifndef for wrappers to avoid include conflcts

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2025-02-08 13:50:12 +01:00
committed by Ron Evans
parent 936933bfa0
commit 0b7c8d12d3
2 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
#ifndef _OPENCV3_VIDEO_H_
#define _OPENCV3_VIDEO_H_
#ifndef _OPENCV3_BGSEGM_H_
#define _OPENCV3_BGSEGM_H_
#ifdef __cplusplus
#include <opencv2/opencv.hpp>
@@ -23,4 +23,4 @@ void BackgroundSubtractorCNT_Apply(BackgroundSubtractorCNT b, Mat src, Mat dst);
}
#endif
#endif //_OPENCV3_VIDEO_H_
#endif //_OPENCV3_BGSEGM_H_

View File

@@ -1,5 +1,5 @@
#ifndef _OPENCV3_OBJDETECT_H_
#define _OPENCV3_OBJDETECT_H_
#ifndef _OPENCV3_PERSISTENCE_H_
#define _OPENCV3_PERSISTENCE_H_
#include <stdbool.h>
@@ -74,4 +74,4 @@ void FileNode_Close(FileNode fn);
}
#endif
#endif //_OPENCV3_OBJDETECT_H_
#endif //_OPENCV3_PERSISTENCE_H_