[Scummvm-git-logs] scummvm master -> 12e7fb917b581e996fe07ae892cdbb18b4084cf0
SupSuper
supsuper at gmail.com
Sun Oct 11 08:26:20 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
12e7fb917b COMMON: Attempt to fix DS build
Commit: 12e7fb917b581e996fe07ae892cdbb18b4084cf0
https://github.com/scummvm/scummvm/commit/12e7fb917b581e996fe07ae892cdbb18b4084cf0
Author: SupSuper (supsuper at gmail.com)
Date: 2020-10-11T09:22:23+01:00
Commit Message:
COMMON: Attempt to fix DS build
Changed paths:
common/streamdebug.cpp
common/streamdebug.h
diff --git a/common/streamdebug.cpp b/common/streamdebug.cpp
index ba3ff4e519..8ca5897d6b 100644
--- a/common/streamdebug.cpp
+++ b/common/streamdebug.cpp
@@ -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();
diff --git a/common/streamdebug.h b/common/streamdebug.h
index 0d1af18ae2..86ed0fb09a 100644
--- a/common/streamdebug.h
+++ b/common/streamdebug.h
@@ -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);
More information about the Scummvm-git-logs
mailing list