possibly fixed compile errors in GPU module on Windows

This commit is contained in:
Vadim Pisarevsky 2012-11-02 12:03:25 +04:00
parent a04ef08602
commit 42471c082f

View File

@ -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