Skip to content

Commit

Permalink
fix compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
scpeters committed Jan 26, 2016
1 parent 5c2d920 commit 0e4574d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ void console_bridge::OutputHandlerSTD::log(const std::string &text, LogLevel lev
console_bridge::OutputHandlerFile::OutputHandlerFile(const char *filename) : OutputHandler()
{
#ifdef _MSC_VER
errno_t err = fopen_s(file_, filename, "a");
if (err != 0 || !file)
errno_t err = fopen_s(&file_, filename, "a");
if (err != 0 || !file_)
#else
file_ = fopen(filename, "a");
if (!file_)
Expand Down

0 comments on commit 0e4574d

Please sign in to comment.