summaryrefslogtreecommitdiff
path: root/base/stats/text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/stats/text.cc')
-rw-r--r--base/stats/text.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/base/stats/text.cc b/base/stats/text.cc
index 511dbe638..f7e82a30f 100644
--- a/base/stats/text.cc
+++ b/base/stats/text.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2004 The Regents of The University of Michigan
+ * Copyright (c) 2004 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -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>