Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610)
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 23 Oct 2017 20:25:58 +0000 (20:25 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 23 Oct 2017 20:25:58 +0000 (20:25 +0000)
commitb367de5dc31371f88b59e165aa6b8be4ed9ee070
tree8517bc2e3717c7759be570e3b44b39e5d294aeaa
parent802561b2cc6cd4e4f59815f7de199026de62a650
Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610)

gcc/ChangeLog:
PR bootstrap/82610
* system.h: Conditionally include "unique-ptr.h" if
INCLUDE_UNIQUE_PTR is defined.
* unique-ptr-tests.cc: Remove include of "unique-ptr.h" in favor
of defining INCLUDE_UNIQUE_PTR before including "system.h".

include/ChangeLog:
* unique-ptr.h: Make include of <memory> conditional on C++11 or
later.

From-SVN: r254024
gcc/ChangeLog
gcc/system.h
gcc/unique-ptr-tests.cc
include/ChangeLog
include/unique-ptr.h