@@ -37,11 +37,10 @@ * writing binary), it checks that the handle is indeed a console. */ #include "config.h" -#include #include #include #import "OFWin32ConsoleStdIOStream.h" #import "OFColor.h" @@ -293,11 +292,11 @@ UTF8Len = OFUTF8StringDecode( _incompleteUTF8Surrogate, _incompleteUTF8SurrogateLen, &c); if (UTF8Len <= 0 || c > 0x10FFFF) { - assert(UTF8Len == 0 || UTF8Len < -4); + OFAssert(UTF8Len == 0 || UTF8Len < -4); UTF16[0] = 0xFFFD; UTF16Len = 1; } else { if (c > 0xFFFF) {