MinGW cleanup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10640 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-08-02 14:51:41 +00:00
parent aee1d32444
commit 1ef5d6721d
5 changed files with 37 additions and 23 deletions

View file

@ -188,10 +188,12 @@ init(int argc, char** argv)
{
signal(sym, ihandler);
}
#ifndef __MINGW__
signal(SIGPIPE, SIG_IGN);
signal(SIGTTOU, SIG_IGN);
signal(SIGTTIN, SIG_IGN);
signal(SIGHUP, SIG_IGN);
#endif
signal(SIGTERM, ihandler);
if (debug == 0)
@ -199,6 +201,7 @@ init(int argc, char** argv)
/*
* Now fork off child process to run in background.
*/
#ifndef __MINGW__
switch (fork())
{
case -1:
@ -223,6 +226,7 @@ init(int argc, char** argv)
}
exit(0);
}
#endif
}
}