minimize preprocessor branching for vxWorks

This commit is contained in:
Unknown
2012-09-06 17:13:19 +02:00
parent d19508256f
commit d8ff75900e
6 changed files with 20 additions and 46 deletions
-4
View File
@@ -68,11 +68,7 @@ void hexDump(String const & prologue, String const & name, const int8 *bs,
if(((i-start)%16)==0) {
out += chars;
out += '\n';
#if defined(__GNUC__) && __GNUC__ < 3
chars.erase();
#else
chars.clear();
#endif
}
chars += toAscii(bs[i]);