Check for getopt

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17704 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-09-22 22:51:23 +00:00
parent 0eb1091cc6
commit 7bc05b1e88
5 changed files with 13 additions and 3 deletions

View file

@ -178,7 +178,7 @@ static void queue_probe(struct in_addr* to, struct in_addr *from,
#ifdef __MINGW__
#ifndef HAVE_GETOPT
/* A simple implementation of getopt() */
static int
@ -245,6 +245,7 @@ getopt(int argc, char **argv, char *options)
return -1;
}
#endif
#endif
static char ebuf[2048];