X-Git-Url: https://git.saurik.com/apple/hfs.git/blobdiff_plain/ec99dd3007e7873c4585ff2dde91ee4d9b7e9da9..0af7c7673fb2c9da95a48e7e8092324dc441ed24:/tests/cases/test-fsync.c?ds=sidebyside diff --git a/tests/cases/test-fsync.c b/tests/cases/test-fsync.c index b8e9440..ac41b27 100644 --- a/tests/cases/test-fsync.c +++ b/tests/cases/test-fsync.c @@ -34,7 +34,7 @@ int run_fsync(__unused test_ctx_t *ctx) disk_image_t *di = NULL; const char *tstdir; -#if TARGET_OS_EMBEDDED +#if (TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) struct statfs sfs; bool hfs_root; @@ -47,7 +47,7 @@ int run_fsync(__unused test_ctx_t *ctx) hfs_root = true; tstdir = "/tmp"; } -#else // !TARGET_OS_EMBEDDED +#else // !TARGET_OS_IPHONE & !SIM di = disk_image_get(); tstdir = di->mount_point; #endif