From b77647dff8d80ab18acb4bb90db6ef6dd1890cc1 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 10 Feb 2005 19:05:34 +0000 Subject: [PATCH] * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED. From-SVN: r94842 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/libsupc++/del_op.cc | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2f67638bc5e..c940dc7dc08 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2005-02-09 Mike Stump + + * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED. + 2005-02-09 Janis Johnson * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*. diff --git a/libstdc++-v3/libsupc++/del_op.cc b/libstdc++-v3/libsupc++/del_op.cc index d76e888e755..241dda32fd9 100644 --- a/libstdc++-v3/libsupc++/del_op.cc +++ b/libstdc++-v3/libsupc++/del_op.cc @@ -29,7 +29,9 @@ // the GNU General Public License. #include "new" +#if _GLIBCXX_HOSTED #include +#endif #include #if _GLIBCXX_HOSTED