Commit 42471c08 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

possibly fixed compile errors in GPU module on Windows

parent a04ef086
...@@ -73,6 +73,14 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment