From f1cb8ba336e2774d46a10decd3e582d9ccbb4afe Mon Sep 17 00:00:00 2001 From: Jeff Garland Date: Sat, 28 Feb 2004 19:51:59 +0000 Subject: [PATCH] attempt to fix regression errors by disabling wstring on cygwin [SVN r22404] --- include/boost/date_time/compiler_config.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/date_time/compiler_config.hpp b/include/boost/date_time/compiler_config.hpp index aba731e..71c6ec6 100644 --- a/include/boost/date_time/compiler_config.hpp +++ b/include/boost/date_time/compiler_config.hpp @@ -52,12 +52,12 @@ namespace std { // workaround for errors associated with wide string output // modifications. compilers affected are: -// Borland 551, gcc295 (not stlport), msvc6, mingw +// Borland 551, gcc295 (not stlport), msvc6, mingw, cygwin // Any of these compilers *should* work if used with StlPort's streams #if ((defined(__GNUC__) && (__GNUC__ < 3)) || \ (defined(_MSC_VER) && (_MSC_VER <= 1200)) || \ - (defined(__MINGW32__)) || \ - (defined(__BORLANDC__) && (__BORLANDC__ <= 0x0551))) && \ + (defined(__BORLANDC__) && (__BORLANDC__ <= 0x0551)) || \ + (defined(BOOST_NO_STD_WSTRING))) && \ !defined(_STLP_OWN_IOSTREAMS) #define BOOST_DATE_TIME_NO_WSTRING_CONVERSIONS #endif