mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
possibly fixed compile errors in GPU module on Windows
This commit is contained in:
parent
a04ef08602
commit
42471c082f
@ -73,6 +73,14 @@
|
|||||||
#include "opencv2/core/internal.hpp"
|
#include "opencv2/core/internal.hpp"
|
||||||
#include "opencv2/video/video.hpp"
|
#include "opencv2/video/video.hpp"
|
||||||
|
|
||||||
|
#if defined WIN32 || defined WINCE
|
||||||
|
#include <windows.h>
|
||||||
|
#undef small
|
||||||
|
#undef min
|
||||||
|
#undef max
|
||||||
|
#undef abs
|
||||||
|
#endif
|
||||||
|
|
||||||
#define OPENCV_GPU_UNUSED(x) (void)x
|
#define OPENCV_GPU_UNUSED(x) (void)x
|
||||||
|
|
||||||
#ifdef HAVE_CUDA
|
#ifdef HAVE_CUDA
|
||||||
|
Loading…
Reference in New Issue
Block a user