@@ -25,11 +25,13 @@ #include #include #include -#ifndef _WIN32 +#include "platform.h" + +#ifndef OF_WINDOWS # include #endif #import "OFStream.h" #import "OFStream+Private.h" @@ -46,11 +48,11 @@ #import "OFSetOptionFailedException.h" #import "of_asprintf.h" @implementation OFStream -#ifndef _WIN32 +#ifndef OF_WINDOWS + (void)initialize { if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); }