Build with clang on linux fixed

This commit is contained in:
Cyril Lashkevich
2015-07-27 22:31:25 +03:00
parent 3f3103572a
commit 25b8a18224
3 changed files with 4 additions and 12 deletions

View File

@@ -24,12 +24,8 @@ void LogMsg::Process()
const std::string& Log::GetTimestamp ()
{
#if !defined(__APPLE__)
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6) && !defined(__APPLE__)
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6) && !defined(__clang__)
auto ts = std::chrono::monotonic_clock::now ();
#else
auto ts = std::chrono::steady_clock::now ();
#endif
#else
auto ts = std::chrono::steady_clock::now ();
#endif