@@ -45,11 +45,11 @@ @"double=0.75\r\n"; OFURL *URL; OFINIFile *file; OFINICategory *tests, *foobar, *types; OFArray *array; -#ifndef OF_NINTENDO_DS +#if defined(OF_HAVE_FILES) && !defined(OF_NINTENDO_DS) OFURL *writeURL; #endif module = @"OFINIFile"; @@ -113,11 +113,11 @@ R([types removeValueForKey: @"array2"])) module = @"OFINIFile"; /* FIXME: Find a way to write files on Nintendo DS */ -#ifndef OF_NINTENDO_DS +#if defined(OF_HAVE_FILES) && !defined(OF_NINTENDO_DS) writeURL = [[OFSystemInfo temporaryDirectoryURL] URLByAppendingPathComponent: @"objfw-tests.ini" isDirectory: false]; TEST(@"-[writeToFile:encoding:]", R([file writeToURL: writeURL