mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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:
parent
2a6edc8b17
commit
fadefa50b2
10 changed files with 377 additions and 150 deletions
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue