assert_no_err(unlink(file2));
-#if !TARGET_OS_EMBEDDED
+#if !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
// Same as the last sequence but with directory hard links
assert_no_err(mkdir(dir1, 0777));
ssize_t res;
do {
res = fsgetpath(path, sizeof(path), &sfs.f_fsid, (uint64_t)sb.st_ino);
- } while (res != -1 || errno == EAGAIN);
+ } while (res != -1);
assert_with_errno(errno == ENOENT);
});
assert(!systemx("/sbin/fsck_hfs", SYSTEMX_QUIET, "-ld", mut_vol_device, NULL));
-#endif
+#endif //!(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
return;
}