diff options
author | Jeremy Huddleston <jeremy@yuffie.local> | 2007-12-15 15:01:02 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremy@yuffie.local> | 2007-12-15 15:01:02 -0800 |
commit | f5db2f6bc21b8d589b92c0f1d60bd6ec8da21ae0 (patch) | |
tree | 160161b98aef2e8ad4a2d6f5d10a3678c64b4e7a /xinit.c | |
parent | c0246278393f9440717eea292a3d31440f7972dd (diff) |
Added Apple launchd support
Diffstat (limited to 'xinit.c')
-rw-r--r-- | xinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -171,7 +171,7 @@ char *displayNum; char *program; Display *xd; /* server connection */ #ifndef SYSV -#if defined(__CYGWIN__) || defined(SVR4) || defined(_POSIX_SOURCE) || defined(CSRG_BASED) || defined(__UNIXOS2__) || defined(Lynx) +#if defined(__CYGWIN__) || defined(SVR4) || defined(_POSIX_SOURCE) || defined(CSRG_BASED) || defined(__UNIXOS2__) || defined(Lynx) || defined(__APPLE__) int status; #else union wait status; @@ -495,7 +495,7 @@ processTimeout(int timeout, char *string) break; alarm(0); #else /* SYSV */ -#if defined(SVR4) || defined(_POSIX_SOURCE) || defined(Lynx) +#if defined(SVR4) || defined(_POSIX_SOURCE) || defined(Lynx) || defined(__APPLE__) if ((pidfound = waitpid(serverpid, &status, WNOHANG)) == serverpid) break; #else |