mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
generalize define from __MINGW32__ to __MINGW__
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30001 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7e8eeb6142
commit
1a5d643771
51 changed files with 404 additions and 350 deletions
|
@ -212,7 +212,7 @@ int con_data (id prx)
|
|||
printf(" got %x\n", ss.z);
|
||||
[pool release];
|
||||
|
||||
#if 1 || !defined(__MINGW32__)
|
||||
#if 1 || !defined(__MINGW__)
|
||||
pool = [NSAutoreleasePool new];
|
||||
printf("Struct:\n");
|
||||
memcpy(&bck, &ffoo, sizeof(bck));
|
||||
|
@ -507,7 +507,7 @@ int main (int argc, char *argv[], char **env)
|
|||
NSAutoreleasePool *arp;
|
||||
NSPortNameServer *ns;
|
||||
Auth *auth;
|
||||
#ifndef __MINGW32__
|
||||
#if !defined(__MINGW__)
|
||||
extern int optind;
|
||||
extern char *optarg;
|
||||
#endif
|
||||
|
|
|
@ -484,7 +484,7 @@ int main(int argc, char *argv[], char **env)
|
|||
NSPortNameServer *ns;
|
||||
NSPort *port;
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
#ifndef __MINGW32__
|
||||
#if !defined(__MINGW__)
|
||||
extern int optind;
|
||||
extern char *optarg;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue