projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
674b763
)
fix for GPU module compile time (VS2010) error (from 2.3 branch)
author
Alexey Spizhevoy
<no@email>
Thu, 30 Jun 2011 14:47:20 +0000
(14:47 +0000)
committer
Alexey Spizhevoy
<no@email>
Thu, 30 Jun 2011 14:47:20 +0000
(14:47 +0000)
modules/gpu/src/nvidia/core/NCV.hpp
patch
|
blob
|
history
diff --git
a/modules/gpu/src/nvidia/core/NCV.hpp
b/modules/gpu/src/nvidia/core/NCV.hpp
index
3d0781f
..
f310e14
100644
(file)
--- a/
modules/gpu/src/nvidia/core/NCV.hpp
+++ b/
modules/gpu/src/nvidia/core/NCV.hpp
@@
-48,6
+48,10
@@
#define NCV_EXPORTS
\r
#endif
\r
\r
+#ifdef _WIN32
\r
+ #define WIN32_LEAN_AND_MEAN
\r
+#endif
\r
+
\r
#include <cuda_runtime.h>
\r
\r
\r