Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/45365 )

Change subject: base: Stop both conditionally and unconditionally including cmath.
......................................................................

base: Stop both conditionally and unconditionally including cmath.

base/stats/text.cc was both conditionally (in two places) and unconditionally
including cmath. Once should be enough.

Change-Id: I941dfb8631eb71d1a8b423011022f78d628baa33
---
M src/base/stats/text.cc
1 file changed, 1 insertion(+), 11 deletions(-)



diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc
index 26f1622..718b65c 100644
--- a/src/base/stats/text.cc
+++ b/src/base/stats/text.cc
@@ -42,19 +42,9 @@
 #define _GLIBCPP_USE_C99 1
 #endif

-#if defined(__sun)
-#include <cmath>
-
-#endif
-
-#include <cassert>
-
-#ifdef __SUNPRO_CC
-#include <cmath>
-
-#endif
 #include "base/stats/text.hh"

+#include <cassert>
 #include <cmath>
 #include <fstream>
 #include <iostream>

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/45365
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I941dfb8631eb71d1a8b423011022f78d628baa33
Gerrit-Change-Number: 45365
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to