diff --git a/include/mynteye/miniglog.h b/include/mynteye/miniglog.h index 5af44a2..844bf85 100644 --- a/include/mynteye/miniglog.h +++ b/include/mynteye/miniglog.h @@ -242,7 +242,7 @@ class MYNTEYE_API MessageLogger { struct tm *timeinfo; time(&rawtime); - timeinfo = localtime_r(&rawtime); + timeinfo = localtime(&rawtime); std::set::iterator iter; // Send the log message to all sinks. for (iter = google::log_sinks_global.begin();