Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/date_time/locale_config.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 #ifndef DATE_TIME_LOCALE_CONFIG_HPP___ | |
2 #define DATE_TIME_LOCALE_CONFIG_HPP___ | |
3 | |
4 /* Copyright (c) 2002-2006 CrystalClear Software, Inc. | |
5 * Use, modification and distribution is subject to the | |
6 * Boost Software License, Version 1.0. (See accompanying | |
7 * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) | |
8 * Author: Jeff Garland | |
9 * $Date: 2008-02-27 12:00:24 -0800 (Wed, 27 Feb 2008) $ | |
10 */ | |
11 | |
12 // This file configures whether the library will support locales and hence | |
13 // iostream based i/o. Even if a compiler has some support for locales, | |
14 // any failure to be compatible gets the compiler on the exclusion list. | |
15 // | |
16 // At the moment this is defined for MSVC 6 and any compiler that | |
17 // defines BOOST_NO_STD_LOCALE (gcc 2.95.x) | |
18 | |
19 #include "boost/config.hpp" //sets BOOST_NO_STD_LOCALE | |
20 #include "boost/detail/workaround.hpp" | |
21 | |
22 //This file basically becomes a noop if locales are not properly supported | |
23 #if (defined(BOOST_NO_STD_LOCALE) \ | |
24 || (BOOST_WORKAROUND( BOOST_MSVC, < 1300)) \ | |
25 || (BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x581 )) ) ) | |
26 #define BOOST_DATE_TIME_NO_LOCALE | |
27 #endif | |
28 | |
29 | |
30 #endif | |
31 |