]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/quota_obsolete.c
xnu-6153.121.1.tar.gz
[apple/xnu.git] / libsyscall / wrappers / quota_obsolete.c
index 1aff8f18221df9b2bffdbae6f272b758230530cf..ac235cbe4da1594e0336e9c91569b90ce9bb8591 100644 (file)
@@ -25,7 +25,7 @@
 #include <unistd.h>
 #include <TargetConditionals.h>
 
-#if !TARGET_OS_EMBEDDED
+#if !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR)
 /*
  * system call stubs are no longer generated for these from
  * syscalls.master. Instead, provide simple stubs here.
@@ -45,4 +45,4 @@ setquota(void)
 {
        return kill(getpid(), SIGSYS);
 }
-#endif /* !TARGET_OS_EMBEDDED */
+#endif /* !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) */