Index: src/OFDatagramSocket.m ================================================================== --- src/OFDatagramSocket.m +++ src/OFDatagramSocket.m @@ -41,10 +41,14 @@ #import "OFOutOfRangeException.h" #import "OFReadFailedException.h" #import "OFSetOptionFailedException.h" #import "OFSetOptionFailedException.h" #import "OFWriteFailedException.h" + +#if defined(OF_AMIGAOS) && !defined(UNIQUE_ID) +# define UNIQUE_ID -1 +#endif @implementation OFDatagramSocket @synthesize delegate = _delegate; + (void)initialize Index: src/OFStreamSocket.m ================================================================== --- src/OFStreamSocket.m +++ src/OFStreamSocket.m @@ -40,10 +40,14 @@ #import "OFOutOfMemoryException.h" #import "OFOutOfRangeException.h" #import "OFReadFailedException.h" #import "OFSetOptionFailedException.h" #import "OFWriteFailedException.h" + +#if defined(OF_AMIGAOS) && !defined(UNIQUE_ID) +# define UNIQUE_ID -1 +#endif @implementation OFStreamSocket @dynamic delegate; @synthesize listening = _listening;