]> git.saurik.com Git - apple/hfs.git/blobdiff - tests/cases/test-dprotect.c
hfs-556.100.11.tar.gz
[apple/hfs.git] / tests / cases / test-dprotect.c
index 75d2c2855bb9ee58b627b031f3384542c63dbea2..12e191af0308fe9e0cb8661b93e47663fd013517 100644 (file)
@@ -1,6 +1,6 @@
 #include <TargetConditionals.h>
 
-#if TARGET_OS_EMBEDDED
+#if (TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
 
 #include <sys/fcntl.h>
 #include <string.h>
@@ -66,4 +66,4 @@ int run_dprotect(__unused test_ctx_t *ctx)
        return 0;
 }
 
-#endif
+#endif // TARGET_OS_IPHONE & !SIM