1
0
Fork 0
forked from lthn/blockchain

excluded srdout from android build

This commit is contained in:
cryptozoidberg 2020-02-21 04:18:54 +01:00
parent f02be48e03
commit 161acc3561
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -365,6 +365,7 @@ namespace log_space
inline bool is_stdout_a_tty()
{
#ifndef ANDROID_BUILD
static std::atomic<bool> initialized(false);
static std::atomic<bool> is_a_tty(false);
@ -379,6 +380,9 @@ namespace log_space
}
return is_a_tty.load(std::memory_order_relaxed);
#else
return false;
#endif
}
inline void set_console_color(int color, bool bright)