From 0436ef631b72dd0f4546c793d38aaa6d02c8b70b Mon Sep 17 00:00:00 2001 From: Ganael LAPLANCHE Date: Mon, 28 Apr 2014 11:39:52 +0000 Subject: - Remove GCC dependency - Fix several compilation warnings PR: ports/188678 Submitted by: Matthew Rezny --- benchmarks/bonnie++/files/patch-duration.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 benchmarks/bonnie++/files/patch-duration.cpp (limited to 'benchmarks/bonnie++/files/patch-duration.cpp') diff --git a/benchmarks/bonnie++/files/patch-duration.cpp b/benchmarks/bonnie++/files/patch-duration.cpp new file mode 100644 index 000000000000..d24d13c0da1a --- /dev/null +++ b/benchmarks/bonnie++/files/patch-duration.cpp @@ -0,0 +1,17 @@ +--- duration.cpp.orig 2009-08-21 18:45:50.068536643 +0000 ++++ duration.cpp 2009-08-21 18:45:58.564755017 +0000 +@@ -1,5 +1,3 @@ +-using namespace std; +- + #include + + #include "duration.h" +@@ -20,6 +18,8 @@ + #endif + #endif + ++using namespace std; ++ + Duration_Base::Duration_Base() + : m_start(0.0) + , m_max(0.0) -- cgit v1.2.3