[DEBUG] Mac debug not needed on Linux

This commit is contained in:
Edouard DUPIN 2013-11-28 21:04:57 +01:00
parent 216f3a5528
commit 9e93578be9
2 changed files with 5 additions and 0 deletions

View File

@ -158,12 +158,15 @@ etk::CCout& etk::CCout::operator << (char32_t _t)
return *this;
}
#if defined(__TARGET_OS__MacOs)
etk::CCout& etk::CCout::operator << (size_t _t)
{
snprintf(tmp, MAX_LOG_SIZE_TMP, "%lld", (uint64_t)_t);
strncat(m_tmpChar, tmp, MAX_LOG_SIZE);
return *this;
}
#endif
etk::CCout& etk::CCout::operator << (int8_t _t)
{
snprintf(tmp, MAX_LOG_SIZE_TMP, "%d", _t);

View File

@ -32,7 +32,9 @@ namespace etk {
CCout(void);
~CCout(void);
CCout& operator << (char32_t _t);
#if defined(__TARGET_OS__MacOs)
CCout& operator << (size_t _t);
#endif
CCout& operator << (int8_t _t);
CCout& operator << (int16_t _t);
CCout& operator << (int32_t _t);