mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 13:13:26 +08:00
Merge pull request #9004 from alalek:fix_build_flann_sdl
This commit is contained in:
commit
9e9f57c139
@ -63,7 +63,12 @@ class Logger
|
|||||||
stream = stdout;
|
stream = stdout;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
if (fopen_s(&stream, name, "w") != 0)
|
||||||
|
stream = NULL;
|
||||||
|
#else
|
||||||
stream = fopen(name,"w");
|
stream = fopen(name,"w");
|
||||||
|
#endif
|
||||||
if (stream == NULL) {
|
if (stream == NULL) {
|
||||||
stream = stdout;
|
stream = stdout;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user