Skip to content

Commit

Permalink
plugin example windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlinross committed Jul 19, 2021
1 parent 21c885e commit 33eb09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plugins/engine/ExampleWritePlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ std::string now()
#ifdef _WIN32
time_t rawTime;
std::time(&rawTime);
timeInfo = std::localtime(&rawTime);
timeInfo = std::localtime_s(&rawTime);
#else
timeval curTime;
gettimeofday(&curTime, nullptr);
Expand Down

0 comments on commit 33eb09f

Please sign in to comment.