@@ -146,11 +146,11 @@ * * @return The date of the last modification of the file */ + (OFDate*)modificationDateOfFileAtPath: (OFString*)path; -#ifndef _PSP +#ifdef OF_HAVE_CHMOD /*! * @brief Changes the mode of a file. * * Only changes read-only flag on Windows. * @@ -160,11 +160,11 @@ */ + (void)changeModeOfFileAtPath: (OFString*)path mode: (mode_t)mode; #endif -#if !defined(_WIN32) && !defined(_PSP) +#ifdef OF_HAVE_CHOWN /*! * @brief Changes the owner of a file. * * Not available on Windows. * @@ -208,11 +208,11 @@ * * @param path The path to the directory which should be deleted as a string */ + (void)deleteDirectoryAtPath: (OFString*)path; -#ifndef _WIN32 +#ifdef OF_HAVE_LINK /*! * @brief Creates a hard link for a file. * * Not available on Windows. * @@ -221,11 +221,11 @@ */ + (void)linkFileAtPath: (OFString*)source toPath: (OFString*)destination; #endif -#if !defined(_WIN32) && !defined(_PSP) +#ifdef OF_HAVE_SYMLINK /*! * @brief Creates a symbolink link for a file. * * Not available on Windows. *