summaryrefslogtreecommitdiff
path: root/base/stats
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-21 01:04:48 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-21 01:04:48 -0400
commit3f7b780af5530cc60228ebd3e895ab26d477614e (patch)
treeecc9052d0fa587e2b48e888705f5df2a80fe401b /base/stats
parent074969f8f16110680de05fca64a6be48aedcdfd8 (diff)
parentc27139c701e8e61056ebc2cf002c5aa129779c13 (diff)
downloadgem5-3f7b780af5530cc60228ebd3e895ab26d477614e.tar.xz
Merge saidi@zizzer.eecs.umich.edu:/bk/linux
into ali-saidis-computer.local:/research/linux --HG-- extra : convert_revision : 446dc5fad11a6b29954dc5b1e974430853aa2969
Diffstat (limited to 'base/stats')
-rw-r--r--base/stats/text.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/stats/text.cc b/base/stats/text.cc
index 6e80c26d6..f7e82a30f 100644
--- a/base/stats/text.cc
+++ b/base/stats/text.cc
@@ -26,6 +26,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if defined(__APPLE__)
+#define _GLIBCPP_USE_C99 1
+#endif
+
#include <iostream>
#include <fstream>
#include <string>