@@ -36,11 +36,15 @@ /** * \brief A protocol that needs to be implemented by delegates for * OFStreamObserver. */ +#ifndef OF_STREAM_OBSERVER_M +@protocol OFStreamObserverDelegate +#else @protocol OFStreamObserverDelegate +#endif #ifdef OF_HAVE_OPTIONAL_PROTOCOLS @optional #endif /** * This callback is called when a stream did get ready for reading.