projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d069c06
)
Fixing compile on some MinGW platforms
author
Andrey Kamaev
<no@email>
Sat, 19 May 2012 10:44:43 +0000
(10:44 +0000)
committer
Andrey Kamaev
<no@email>
Sat, 19 May 2012 10:44:43 +0000
(10:44 +0000)
modules/highgui/src/window_w32.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/window_w32.cpp
b/modules/highgui/src/window_w32.cpp
index
bdee452
..
b2470be
100644
(file)
--- a/
modules/highgui/src/window_w32.cpp
+++ b/
modules/highgui/src/window_w32.cpp
@@
-48,6
+48,10
@@
#endif
#define COMPILE_MULTIMON_STUBS // Required for multi-monitor support
+#ifndef _MULTIMON_USE_SECURE_CRT
+# define _MULTIMON_USE_SECURE_CRT 0 // some MinGW platforms have no strncpy_s
+#endif
+
#if defined SM_CMONITORS && !defined MONITOR_DEFAULTTONEAREST
# define MONITOR_DEFAULTTONULL 0x00000000
# define MONITOR_DEFAULTTOPRIMARY 0x00000001