Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:38

0001 #ifndef DATE_TIME_LOCALE_CONFIG_HPP___
0002 #define DATE_TIME_LOCALE_CONFIG_HPP___
0003 
0004 /* Copyright (c) 2002-2020 CrystalClear Software, Inc.
0005  * Use, modification and distribution is subject to the
0006  * Boost Software License, Version 1.0. (See accompanying
0007  * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
0008  * Author: Jeff Garland
0009  * $Date$
0010  */
0011 
0012 // This file configures whether the library will support locales and hence
0013 // iostream based i/o.  Even if a compiler has some support for locales,
0014 // any failure to be compatible gets the compiler on the exclusion list.
0015 //
0016 // At the moment this is defined for MSVC 6 and any compiler that
0017 // defines BOOST_NO_STD_LOCALE (gcc 2.95.x)
0018 
0019 #include "boost/config.hpp" //sets BOOST_NO_STD_LOCALE
0020 #include "boost/config/workaround.hpp"
0021 
0022 //This file basically becomes a noop if locales are not properly supported
0023 #if (defined(BOOST_NO_STD_LOCALE)  \
0024  || (BOOST_WORKAROUND( BOOST_MSVC, < 1300)) \
0025  || (BOOST_WORKAROUND( BOOST_BORLANDC, BOOST_TESTED_AT( 0x581 )) ) \
0026  || (BOOST_WORKAROUND( BOOST_XLCPP_ZOS, BOOST_TESTED_AT( 0x42010000 )) ) /* <cctype> "shadows" the locale enabled overloads from <locale> */ \
0027  )
0028 #define BOOST_DATE_TIME_NO_LOCALE
0029 #endif
0030 
0031 
0032 #endif
0033