1. Shlomi Fish
  2. perl-XML-LibXML

Commits

pa...@9ae0c189-cd1f-4510-a509-f4891f5cf20d  committed 4719a44

make LibXML_serror_handler conditional to HAVE_SERRORS

  • Participants
  • Parent commits 3c8be65
  • Branches structerror

Comments (0)

Files changed (1)

File LibXML.xs

View file
     *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, ...)