Index: src/OFSystemInfo.m ================================================================== --- src/OFSystemInfo.m +++ src/OFSystemInfo.m @@ -157,10 +157,11 @@ } @finally { objc_autoreleasePoolPop(pool); } # endif #elif defined(OF_WINDOWS) +# ifdef OF_HAVE_FILES void *pool = objc_autoreleasePoolPush(); @try { wchar_t systemDir[PATH_MAX]; UINT systemDirLen; @@ -207,10 +208,11 @@ free(buffer); } } @finally { objc_autoreleasePoolPop(pool); } +# endif #elif defined(OF_ANDROID) /* TODO */ #elif defined(OF_MORPHOS) /* TODO */ #elif defined(OF_AMIGAOS4)