#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.
{
return kill(getpid(), SIGSYS);
}
-#endif /* !TARGET_OS_EMBEDDED */
+#endif /* !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) */