Fix single-threaded build for targets without atomics
authorJonathan Wakely <jwakely@redhat.com>
Wed, 15 Aug 2018 09:56:33 +0000 (10:56 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 15 Aug 2018 09:56:33 +0000 (10:56 +0100)
commit25b030b85a03c86a010c1d2e4bc8db25958b0515
tree8170f9c08c76323ca31a106dd69615c9c7c0ee2f
parent89bcf3fffe13eb125a14340953dbe8dd37dcd60f
Fix single-threaded build for targets without atomics

* src/c++17/memory_resource.cc [!_GLIBCXX_HAS_GTHREADS]
(atomic_mem_res): Add unsynchronized definition for single-threaded.

From-SVN: r263554
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++17/memory_resource.cc