From a4810a679af9ec4e5e84bfff492447eaf650ea7e Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Thu, 2 Jun 2005 17:24:45 +0000 Subject: [PATCH] libcomo fix [SVN r29383] --- include/boost/iostreams/detail/system_failure.hpp | 2 +- include/boost/iostreams/filter/test.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/iostreams/detail/system_failure.hpp b/include/boost/iostreams/detail/system_failure.hpp index c90c288..ea59f10 100755 --- a/include/boost/iostreams/detail/system_failure.hpp +++ b/include/boost/iostreams/detail/system_failure.hpp @@ -20,7 +20,7 @@ #include #include // failure. -#ifdef BOOST_NO_STDC_NAMESPACE +#ifdef BOOST_NO_STDC_NAMESPACE && !defined(__LIBCOMO__) namespace std { using ::strlen; } #endif diff --git a/include/boost/iostreams/filter/test.hpp b/include/boost/iostreams/filter/test.hpp index f0a1a97..1e08123 100755 --- a/include/boost/iostreams/filter/test.hpp +++ b/include/boost/iostreams/filter/test.hpp @@ -48,7 +48,7 @@ #undef rand #undef strlen -#if defined(BOOST_NO_STDC_NAMESPACE) || defined(__LIBCOMO__) +#if defined(BOOST_NO_STDC_NAMESPACE) && !defined(__LIBCOMO__) namespace std { using ::memcpy; using ::strlen;