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 0a60fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/plugins/engine/ExampleWritePlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ std::string now()
#ifdef _WIN32
time_t rawTime;
std::time(&rawTime);
#pragma warning(disable : 4996) //_CRT_SECURE_NO_WARNINGS
timeInfo = std::localtime(&rawTime);
#else
timeval curTime;
Expand Down

0 comments on commit 0a60fd1

Please sign in to comment.