diff options
author | Pierre Ossman <ossman@cendio.se> | 2007-10-03 14:47:26 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2007-10-03 14:47:26 +0000 |
commit | cef65632734caf00fbf1b0e44672d0e3c533c52f (patch) | |
tree | bf5ec714f759e19143ecef82389693476cd1c150 /src/pulsecore/pid.c | |
parent | ce74146a817481c95942f4afee73d918ba82427d (diff) |
Assorted minor Windows compatibility fixes for recent code updates.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1928 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/pid.c')
-rw-r--r-- | src/pulsecore/pid.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulsecore/pid.c b/src/pulsecore/pid.c index 38d26814..55ff2088 100644 --- a/src/pulsecore/pid.c +++ b/src/pulsecore/pid.c @@ -88,7 +88,10 @@ static int open_pid_file(const char *fn, int mode) { for (;;) { struct stat st; - if ((fd = open(fn, mode|O_NOCTTY + if ((fd = open(fn, mode +#ifdef O_NOCTTY + |O_NOCTTY +#endif #ifdef O_NOFOLLOW |O_NOFOLLOW #endif |