summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-ac
blob: 6c1a721f512103522f856283da04373a3055de27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.2 2005/08/12 20:58:45 jmmv Exp $

--- libs/regex/src/wide_posix_api.cpp.orig	2005-03-30 13:38:51.000000000 +0200
+++ libs/regex/src/wide_posix_api.cpp
@@ -29,7 +29,7 @@
 #include <cstring>
 #include <cstdio>
 
-#if defined(BOOST_NO_STDC_NAMESPACE)
+#if defined(BOOST_NO_STDC_NAMESPACE) || defined(__NetBSD__)
 namespace std{
 #  ifndef BOOST_NO_SWPRINTF
       using ::swprintf;