110d565efSmrg // Compatibility symbols for previous versions, C++0x bits -*- C++ -*-
210d565efSmrg 
3*ec02198aSmrg // Copyright (C) 2013-2020 Free Software Foundation, Inc.
410d565efSmrg //
510d565efSmrg // This file is part of the GNU ISO C++ Library.  This library is free
610d565efSmrg // software; you can redistribute it and/or modify it under the
710d565efSmrg // terms of the GNU General Public License as published by the
810d565efSmrg // Free Software Foundation; either version 3, or (at your option)
910d565efSmrg // any later version.
1010d565efSmrg 
1110d565efSmrg // This library is distributed in the hope that it will be useful,
1210d565efSmrg // but WITHOUT ANY WARRANTY; without even the implied warranty of
1310d565efSmrg // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1410d565efSmrg // GNU General Public License for more details.
1510d565efSmrg 
1610d565efSmrg // Under Section 7 of GPL version 3, you are granted additional
1710d565efSmrg // permissions described in the GCC Runtime Library Exception, version
1810d565efSmrg // 3.1, as published by the Free Software Foundation.
1910d565efSmrg 
2010d565efSmrg // You should have received a copy of the GNU General Public License and
2110d565efSmrg // a copy of the GCC Runtime Library Exception along with this program;
2210d565efSmrg // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
2310d565efSmrg // <http://www.gnu.org/licenses/>.
2410d565efSmrg 
2510d565efSmrg #include <bits/c++config.h>
2610d565efSmrg 
2710d565efSmrg #if __cplusplus < 201103L
2810d565efSmrg # error "compatibility-condvar-c++0x.cc must be compiled with -std=gnu++11"
2910d565efSmrg #endif
3010d565efSmrg 
3110d565efSmrg #if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)
3210d565efSmrg 
3310d565efSmrg #define condition_variable_any condition_variable_anyXX
3410d565efSmrg #include <condition_variable>
3510d565efSmrg #undef condition_variable_any
3610d565efSmrg 
3710d565efSmrg // XXX GLIBCXX_ABI Deprecated
3810d565efSmrg // gcc-4.9.0
3910d565efSmrg // std::condition_variable_any replaced with std::_V2::condition_variable_any
4010d565efSmrg namespace std _GLIBCXX_VISIBILITY(default)
4110d565efSmrg {
4210d565efSmrg _GLIBCXX_BEGIN_NAMESPACE_VERSION
4310d565efSmrg   class condition_variable_any
4410d565efSmrg   {
4510d565efSmrg     condition_variable			_M_cond;
4610d565efSmrg     mutex				_M_mutex;
4710d565efSmrg 
4810d565efSmrg   public:
4910d565efSmrg     condition_variable_any() noexcept;
5010d565efSmrg     ~condition_variable_any() noexcept;
5110d565efSmrg   };
5210d565efSmrg   condition_variable_any::condition_variable_any() noexcept = default;
5310d565efSmrg   condition_variable_any::~condition_variable_any() noexcept = default;
5410d565efSmrg _GLIBCXX_END_NAMESPACE_VERSION
5510d565efSmrg } // namespace std
5610d565efSmrg 
5710d565efSmrg #endif // _GLIBCXX_HAS_GTHREADS && _GLIBCXX_USE_C99_STDINT_TR1
58