@@ -37,11 +37,15 @@ #endif /** * \brief A protocol that needs to be implemented by delegates for OFXMLParser. */ +#ifndef OF_XML_PARSER_M +@protocol OFXMLParserDelegate +#else @protocol OFXMLParserDelegate +#endif #ifdef OF_HAVE_OPTIONAL_PROTOCOLS @optional #endif /** * This callback is called when the XML parser found processing instructions.