@@ -38,10 +38,13 @@ /** * \brief A protocol that needs to be implemented by delegates for OFXMLParser. */ @protocol OFXMLParserDelegate +#ifdef OF_HAVE_OPTIONAL_PROTOCOLS +@optional +#endif /** * This callback is called when the XML parser found processing instructions. * * \param parser The parser which found processing instructions * \param pi The processing instructions