]> git.saurik.com Git - apple/hfs.git/blobdiff - tests/cases/test-map-private.m
hfs-556.100.11.tar.gz
[apple/hfs.git] / tests / cases / test-map-private.m
index bd70bafec9ae30a90db024e240311651ce1658af..c1e19e25b94f4f62801c4216192b87d22a4b7379 100644 (file)
@@ -1,6 +1,6 @@
 #include <TargetConditionals.h>
 
-#if !TARGET_OS_EMBEDDED
+#if !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
 
 #include <sys/mman.h>
 #include <unistd.h>
@@ -158,4 +158,4 @@ int run_map_private(__unused test_ctx_t *ctx)
        return 0;
 }
 
-#endif
+#endif // !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)