* libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
authorMike Stump <mrs@apple.com>
Thu, 10 Feb 2005 19:05:34 +0000 (19:05 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 10 Feb 2005 19:05:34 +0000 (19:05 +0000)
From-SVN: r94842

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

index 2f67638bc5e5a257df037a56e8cf9d8d40811436..c940dc7dc08eb6bdfbb5b01b8450332d12e5c3f1 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 d76e888e75508d106de3f6e79e3400874dfa128c..241dda32fd9d36a9218ff69fa0c05eb735f1c14e 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