* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
getopt and avoid getopt_long declaration. * libc/sys/cygwin/include/unistd.h: Remove.
This commit is contained in:
@ -1,11 +0,0 @@
|
||||
/* unistd.h for Cygwin. */
|
||||
|
||||
#ifndef _UNISTD_H_
|
||||
#define _UNISTD_H_
|
||||
|
||||
# include <sys/unistd.h>
|
||||
# define __UNISTD_GETOPT__
|
||||
# include <getopt.h>
|
||||
# undef __UNISTD_GETOPT__
|
||||
|
||||
#endif /* _UNISTD_H_ */
|
Reference in New Issue
Block a user