diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-07-26 15:02:11 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-07-26 15:02:11 +0100 |
commit | 54c674327fbe86c91211019a6d028ed8699bfaf3 (patch) | |
tree | dfe8138bafa56eb858eeb8694a409ca327ae3641 /gcc/tree.c | |
parent | 4957b284f1ac52ce14b15fe3b915d46776d624ec (diff) | |
download | gcc-54c674327fbe86c91211019a6d028ed8699bfaf3.zip gcc-54c674327fbe86c91211019a6d028ed8699bfaf3.tar.gz gcc-54c674327fbe86c91211019a6d028ed8699bfaf3.tar.bz2 |
Add missing checks for _GLIBCXX_USE_C99_STDINT_TR1
The throw_allocator extension depends on <tr1/random> which depends on
_GLIBCXX_USE_C99_STDINT_TR1.
The Transactional Memory support uses fixed-width integer types from
<stdint.h>.
* include/ext/throw_allocator.h [!_GLIBCXX_USE_C99_STDINT_TR1]
(random_condition, throw_value_random, throw_allocator_random)
(std::hash<throw_value_random>): Do not define when <tr1/random> is
not usable.
* src/c++11/cow-stdexcept.cc [!_GLIBCXX_USE_C99_STDINT_TR1]: Do not
define transactional memory support when <stdint.h> is not usable.
From-SVN: r263004
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions