f5eb407ed1
* 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.
18 lines
235 B
C
18 lines
235 B
C
/*
|
|
* This file is part of the Mingw32 package.
|
|
*
|
|
* unistd.h maps (roughly) to io.h
|
|
*/
|
|
|
|
#ifndef __STRICT_ANSI__
|
|
|
|
#include <io.h>
|
|
#include <process.h>
|
|
|
|
#define __UNISTD_GETOPT__
|
|
#include <getopt.h>
|
|
#undef __UNISTD_GETOPT__
|
|
|
|
#endif
|
|
|