@@ -17,11 +17,10 @@ #include "config.h" #import "OFLinkFailedException.h" #import "OFString.h" -#if defined(OF_HAVE_LINK) || defined(OF_WINDOWS) @implementation OFLinkFailedException @synthesize sourcePath = _sourcePath, destinationPath = _destinationPath; @synthesize errNo = _errNo; + (instancetype)exceptionWithSourcePath: (OFString*)sourcePath @@ -97,6 +96,5 @@ return [OFString stringWithFormat: @"Failed to link file %@ to %@!", _sourcePath, _destinationPath]; } @end -#endif