Index: src/OFStream.m ================================================================== --- src/OFStream.m +++ src/OFStream.m @@ -29,11 +29,11 @@ # include #endif #include "platform.h" -#ifndef OF_WINDOWS +#if !defined(OF_WINDOWS) && (!defined(OF_MORPHOS) || defined(OF_IXEMUL)) # include #endif #import "OFStream.h" #import "OFStream+Private.h" @@ -54,11 +54,11 @@ #define MIN_READ_SIZE 512 @implementation OFStream @synthesize of_waitingForDelimiter = _waitingForDelimiter; -#ifndef OF_WINDOWS +#if !defined(OF_WINDOWS) && (!defined(OF_MORPHOS) || defined(OF_IXEMUL)) + (void)initialize { if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); }