mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +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/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
|
||||
|
||||
#ifdef HAVE_CUDA
|
||||
|
Loading…
Reference in New Issue
Block a user