Skip to content
Snippets Groups Projects
Commit 01128f9f authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

DRTVWR-476, SL-13528: Use freopen_s() instead of assigning stderr.

The llappviewerwin32.cpp create_console() function called by
LLAppViewerWin32::initConsole() used to assign *stderr = *(new FILE* value),
and so forth for stdout and stdin. That dubious tactic no longer works with
the new Windows CRT introduced with VS 2015. freopen_s() works much better.
parent d8649dbb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment