Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/date_time/locale_config.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 #ifndef DATE_TIME_LOCALE_CONFIG_HPP___ |
Chris@16 | 2 #define DATE_TIME_LOCALE_CONFIG_HPP___ |
Chris@16 | 3 |
Chris@16 | 4 /* Copyright (c) 2002-2006 CrystalClear Software, Inc. |
Chris@16 | 5 * Use, modification and distribution is subject to the |
Chris@16 | 6 * Boost Software License, Version 1.0. (See accompanying |
Chris@16 | 7 * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 8 * Author: Jeff Garland |
Chris@101 | 9 * $Date$ |
Chris@16 | 10 */ |
Chris@16 | 11 |
Chris@16 | 12 // This file configures whether the library will support locales and hence |
Chris@16 | 13 // iostream based i/o. Even if a compiler has some support for locales, |
Chris@16 | 14 // any failure to be compatible gets the compiler on the exclusion list. |
Chris@16 | 15 // |
Chris@16 | 16 // At the moment this is defined for MSVC 6 and any compiler that |
Chris@16 | 17 // defines BOOST_NO_STD_LOCALE (gcc 2.95.x) |
Chris@16 | 18 |
Chris@16 | 19 #include "boost/config.hpp" //sets BOOST_NO_STD_LOCALE |
Chris@16 | 20 #include "boost/detail/workaround.hpp" |
Chris@16 | 21 |
Chris@16 | 22 //This file basically becomes a noop if locales are not properly supported |
Chris@16 | 23 #if (defined(BOOST_NO_STD_LOCALE) \ |
Chris@16 | 24 || (BOOST_WORKAROUND( BOOST_MSVC, < 1300)) \ |
Chris@16 | 25 || (BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x581 )) ) ) |
Chris@16 | 26 #define BOOST_DATE_TIME_NO_LOCALE |
Chris@16 | 27 #endif |
Chris@16 | 28 |
Chris@16 | 29 |
Chris@16 | 30 #endif |
Chris@16 | 31 |