]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/quota_obsolete.c
xnu-7195.81.3.tar.gz
[apple/xnu.git] / libsyscall / wrappers / quota_obsolete.c
index aa566c0c65a6a6c5458241afbd14e94b52046a09..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.
 extern int quota(void);
 extern int setquota(void);
 
-int quota(void)
+int
+quota(void)
 {
        return kill(getpid(), SIGSYS);
 }
 
-int setquota(void)
+int
+setquota(void)
 {
        return kill(getpid(), SIGSYS);
 }
-#endif /* !TARGET_OS_EMBEDDED */
+#endif /* !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) */