@@ -13,11 +13,10 @@ * file. */ #include "config.h" -#include #include #ifdef HAVE_FCNTL_H # include #endif @@ -186,11 +185,11 @@ errNo: (int)eventList[i].data]; if (eventList[i].ident == (uintptr_t)_cancelFD[0]) { char buffer; - assert(eventList[i].filter == EVFILT_READ); + OFAssert(eventList[i].filter == EVFILT_READ); OFEnsure(read(_cancelFD[0], &buffer, 1) == 1); continue; } @@ -208,12 +207,12 @@ @selector(objectIsReadyForWriting:)]) [_delegate objectIsReadyForWriting: (id)eventList[i].udata]; break; default: - assert(0); + OFAssert(0); } objc_autoreleasePoolPop(pool); } } @end