Port to MinGW

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7524 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2000-09-15 22:06:01 +00:00
parent 2a6edc8b17
commit fadefa50b2
10 changed files with 377 additions and 150 deletions

View file

@ -764,7 +764,7 @@ main(int argc, char** argv, char** env)
shouldFork = NO;
}
RELEASE(pool);
#ifndef __MINGW__ /* Don't fork on Win32 */
if (shouldFork)
{
switch (fork())
@ -788,6 +788,7 @@ main(int argc, char** argv, char** env)
exit(0);
}
}
#endif /* !MINGW */
{
CREATE_AUTORELEASE_POOL(pool);

View file

@ -22,6 +22,11 @@
*/
/* Ported to mingw 07/12/00 by Björn Giesler <Bjoern.Giesler@gmx.de> */
#ifdef __MINGW32__
#ifndef __MINGW__
#define __MINGW__
#endif
#endif
#include <stdio.h>
#include <stdlib.h>