mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
backport fix build for clang
This commit is contained in:
parent
d01a21a867
commit
54b2c8bd7e
3 changed files with 4 additions and 4 deletions
2
Log.cpp
2
Log.cpp
|
@ -24,7 +24,7 @@ void LogMsg::Process()
|
|||
|
||||
const std::string& Log::GetTimestamp ()
|
||||
{
|
||||
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6)
|
||||
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6) && !defined(__clang__)
|
||||
auto ts = std::chrono::monotonic_clock::now ();
|
||||
#else
|
||||
auto ts = std::chrono::steady_clock::now ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue