@@ -52,14 +52,16 @@ * \param h An OFXMLUnescapingDelegate as a handler for unknown entities */ - (OFString*)stringByXMLUnescapingWithDelegate: (id )delegate; +#ifdef OF_HAVE_BLOCKS /** * Unescapes XML in the string and uses the specified block for unknown * entities. * * \param h A block as a handler for unknown entities */ - (OFString*)stringByXMLUnescapingWithBlock: (of_string_xml_unescaping_block_t)block; +#endif @end