]> git.saurik.com Git - apple/hfs.git/blobdiff - tests/cases/test-fsync.c
hfs-556.100.11.tar.gz
[apple/hfs.git] / tests / cases / test-fsync.c
index b8e944008d02e09e78881fbc2b56d104936f9216..ac41b27acbf208c60a48e239d854bef163dc4ab5 100644 (file)
@@ -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