* mingwex/getopt.c: New file, copied from cygwin srcs.

* include/getopt.h: New file, copied from cygwin srcs.
	* include/unistd.h: Include getopt.h.
	* mingwex/Makefile.in ((DISTFILES): Add getopt.c.
	(POSIX_OBJS): Add getopt.o.
This commit is contained in:
Danny Smith
2003-03-03 01:19:42 +00:00
parent c2c6b1701a
commit f5eb407ed1
5 changed files with 597 additions and 7 deletions

View File

@ -5,7 +5,13 @@
*/
#ifndef __STRICT_ANSI__
#include <io.h>
#include <process.h>
#endif
#define __UNISTD_GETOPT__
#include <getopt.h>
#undef __UNISTD_GETOPT__
#endif