diff --git a/src/pugixml.cpp b/src/pugixml.cpp index b6a1dd8..a0f3a58 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -2647,12 +2647,14 @@ namespace pugi node_output(buffered_writer, *this, indent, flags, depth); } +#ifndef PUGIXML_NO_STL void xml_node::print(std::ostream& stream, const char* indent, unsigned int flags, unsigned int depth) { xml_writer_stream writer(stream); print(writer, indent, flags, depth); } +#endif int xml_node::offset_debug() const {