OSDN Git Service

* libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Feb 2005 19:05:34 +0000 (19:05 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Feb 2005 19:05:34 +0000 (19:05 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94842 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/del_op.cc

index 2f67638..c940dc7 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-09  Mike Stump  <mrs@apple.com>
+
+       * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
+
 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
 
        * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
index d76e888..241dda3 100644 (file)
@@ -29,7 +29,9 @@
 // the GNU General Public License.
 
 #include "new"
+#if _GLIBCXX_HOSTED
 #include <cstdlib>
+#endif
 #include <bits/c++config.h>
 
 #if _GLIBCXX_HOSTED