Commits

Anonymous committed 4719a44

make LibXML_serror_handler conditional to HAVE_SERRORS

Comments (0)

Files changed (1)

     *dest = hr;
 }
 
+#ifdef HAVE_SERRORS
 void
 LibXML_serror_handler(void *userData, xmlErrorPtr err) {
   xmlError2Sv(&LibXML_error,err,LibXML_error); 
 }
+#endif /* HAVE_SERRORS */
 
 void
 LibXML_dummy_handler(void * ctxt, const char * msg, ...)