Chris@16: #ifndef DATE_TIME_LOCALE_CONFIG_HPP___ Chris@16: #define DATE_TIME_LOCALE_CONFIG_HPP___ Chris@16: Chris@16: /* Copyright (c) 2002-2006 CrystalClear Software, Inc. Chris@16: * Use, modification and distribution is subject to the Chris@16: * Boost Software License, Version 1.0. (See accompanying Chris@16: * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) Chris@16: * Author: Jeff Garland Chris@101: * $Date$ Chris@16: */ Chris@16: Chris@16: // This file configures whether the library will support locales and hence Chris@16: // iostream based i/o. Even if a compiler has some support for locales, Chris@16: // any failure to be compatible gets the compiler on the exclusion list. Chris@16: // Chris@16: // At the moment this is defined for MSVC 6 and any compiler that Chris@16: // defines BOOST_NO_STD_LOCALE (gcc 2.95.x) Chris@16: Chris@16: #include "boost/config.hpp" //sets BOOST_NO_STD_LOCALE Chris@16: #include "boost/detail/workaround.hpp" Chris@16: Chris@16: //This file basically becomes a noop if locales are not properly supported Chris@16: #if (defined(BOOST_NO_STD_LOCALE) \ Chris@16: || (BOOST_WORKAROUND( BOOST_MSVC, < 1300)) \ Chris@16: || (BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x581 )) ) ) Chris@16: #define BOOST_DATE_TIME_NO_LOCALE Chris@16: #endif Chris@16: Chris@16: Chris@16: #endif Chris@16: