Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610)
commit95f39a983a595ff5892459b6338fe2d05a159cbc
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Oct 2017 20:25:58 +0000 (23 20:25 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Oct 2017 20:25:58 +0000 (23 20:25 +0000)
tree8517bc2e3717c7759be570e3b44b39e5d294aeaa
parente176a9459c104f84e7a1be70a8c21402e330b4a2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254024 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/system.h
gcc/unique-ptr-tests.cc
include/ChangeLog
include/unique-ptr.h