@@ -62,11 +62,11 @@ * * @param object The object which did become ready for writing */ - (void)objectIsReadyForWriting: (id)object; -#ifdef OF_AMIGAOS +#if defined(OF_AMIGAOS) || defined(DOXYGEN) /** * @brief This callback is called when an Exec Signal was received. * * @note This is only available on AmigaOS! */ @@ -119,39 +119,39 @@ OFMutableArray OF_GENERIC(id ) *_readObjects; OFMutableArray OF_GENERIC(id ) *_writeObjects; id _Nullable _delegate; -#if defined(OF_AMIGAOS) +# if defined(OF_AMIGAOS) struct Task *_waitingTask; ULONG _cancelSignal; -#elif defined(OF_HAVE_PIPE) +# elif defined(OF_HAVE_PIPE) int _cancelFD[2]; -#else +# else OFSocketHandle _cancelFD[2]; struct sockaddr_in _cancelAddr; -#endif -#ifdef OF_AMIGAOS +# endif +# ifdef OF_AMIGAOS ULONG _execSignalMask; -#endif +# endif OF_RESERVE_IVARS(OFKernelEventObserver, 4) } /** * @brief The delegate for the OFKernelEventObserver. */ @property OF_NULLABLE_PROPERTY (assign, nonatomic) id delegate; -#ifdef OF_AMIGAOS +# if defined(OF_AMIGAOS) || defined(DOXYGEN) /** * @brief A mask of Exec Signals to wait for. * * @note This is only available on AmigaOS! */ @property (nonatomic) ULONG execSignalMask; -#endif +# endif /** * @brief Creates a new OFKernelEventObserver. * * @return A new, autoreleased OFKernelEventObserver