COMMON: Attempt to fix DS build

This commit is contained in:
SupSuper 2020-10-11 09:22:23 +01:00
parent 7bcce1fb7a
commit 12e7fb917b
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ Debug &Debug::operator<<(unsigned int num) {
return maybeSpace();
}
#ifndef __DC__
#if !defined(__DC__) && !defined(__DS__)
Debug &Debug::operator<<(double num) {
_stream->msg += String::format("%g", num);
return maybeSpace();

View File

@ -43,8 +43,8 @@ public:
Debug &operator<<(int number);
Debug &operator<<(unsigned int number);
// DC has float and double equal
#ifndef __DC__
// DC and DS has float and double equal
#if !defined(__DC__) && !defined(__DS__)
Debug &operator<<(double number);
#endif
Debug &operator<<(float number);