]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/quota_obsolete.c
xnu-4570.1.46.tar.gz
[apple/xnu.git] / libsyscall / wrappers / quota_obsolete.c
index 435339b2c4960ee43ba213da0858c191b3dcdbf7..aa566c0c65a6a6c5458241afbd14e94b52046a09 100644 (file)
@@ -25,6 +25,7 @@
 #include <unistd.h>
 #include <TargetConditionals.h>
 
+#if !TARGET_OS_EMBEDDED
 /*
  * system call stubs are no longer generated for these from
  * syscalls.master. Instead, provide simple stubs here.
@@ -42,3 +43,4 @@ int setquota(void)
 {
        return kill(getpid(), SIGSYS);
 }
+#endif /* !TARGET_OS_EMBEDDED */