diff options
Diffstat (limited to 'xorg-server/os/osinit.c')
-rw-r--r-- | xorg-server/os/osinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/os/osinit.c b/xorg-server/os/osinit.c index 018e4047d..f27a5b8f3 100644 --- a/xorg-server/os/osinit.c +++ b/xorg-server/os/osinit.c @@ -162,6 +162,7 @@ OsInit(void) char fname[PATH_MAX]; if (!been_here) { +#ifndef _MSC_VER struct sigaction act, oact; int i; int siglist[] = { SIGSEGV, SIGQUIT, SIGILL, SIGFPE, SIGBUS, @@ -205,7 +206,7 @@ OsInit(void) int failure_signal = SIGQUIT; dlinfo(RTLD_SELF, RTLD_DI_SETSIGNAL, &failure_signal); #endif - +#endif #if !defined(__CYGWIN__) fclose(stdin); fclose(stdout); @@ -244,8 +245,10 @@ OsInit(void) #endif } +#ifndef _MSC_VER if (getpgrp () == 0) setpgid (0, 0); +#endif #ifdef RLIMIT_DATA if (limitDataSpace >= 0) |