Commit 9e9f57c1 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #9004 from alalek:fix_build_flann_sdl

parents 9ee60dbf 22d2207d
......@@ -63,7 +63,12 @@ class Logger
stream = stdout;
}
else {
#ifdef _MSC_VER
if (fopen_s(&stream, name, "w") != 0)
stream = NULL;
#else
stream = fopen(name,"w");
#endif
if (stream == NULL) {
stream = stdout;
}
......
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