Kaydet (Commit) 5e4a7452 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Allow for lack of LIBXML_ATTR_FORMAT

üst 8b3d84c0
......@@ -47,7 +47,11 @@ public:
xmlTextWriterPtr operator->();
void startElement( const char* element );
void endElement();
void writeFormatAttribute( const char* attribute, const char* format, ... ) LIBXML_ATTR_FORMAT(3,4);
void writeFormatAttribute( const char* attribute, const char* format, ... )
#ifdef LIBXML_ATTR_FORMAT
LIBXML_ATTR_FORMAT(3,4)
#endif
;
private:
xmlTextWriterPtr writer;
bool owns;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment