blob: 27de336671049394541faa824288610c7d91edef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ac,v 1.1 2012/07/04 20:15:46 drochner Exp $
Fix build with Sun Studio C++.
--- goo/gstrtod.cc.orig Wed Sep 9 23:22:31 2009
+++ goo/gstrtod.cc Sat Jan 9 21:24:38 2010
@@ -27,6 +27,10 @@
#include <cstdlib>
#include <cstring>
+#if defined(sun) && !defined(__GNUC__)
+using namespace std;
+#endif
+
#define ascii_isspace(c) \
(c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v')
#define ascii_isdigit(c) \
|