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