mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-21 06:41:48 +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.h
2
Log.h
|
@ -50,7 +50,7 @@ class Log: public i2p::util::MsgQueue<LogMsg>
|
|||
|
||||
std::ostream * m_LogStream;
|
||||
std::string m_Timestamp;
|
||||
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6) // gcc 4.6
|
||||
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6) && !defined(__clang__) // gcc 4.6
|
||||
std::chrono::monotonic_clock::time_point m_LastTimestampUpdate;
|
||||
#else
|
||||
std::chrono::steady_clock::time_point m_LastTimestampUpdate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue