make it so that we always use our own version of getopt_long as the comment
says.
This commit is contained in:
parent
cae365bd34
commit
170bdd7b66
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: compat_getopt.h,v 1.1 2004/06/20 22:20:15 jmc Exp $ */
|
||||
/* $NetBSD: compat_getopt.h,v 1.2 2007/11/08 20:30:59 christos Exp $ */
|
||||
|
||||
/* We unconditionally use the NetBSD getopt.h in libnbcompat. */
|
||||
|
||||
@ -7,7 +7,11 @@
|
||||
#endif
|
||||
|
||||
#define option __nbcompat_option
|
||||
#ifdef _GETOPT_H_
|
||||
#define getopt_long __nbcompat_getopt_long
|
||||
|
||||
#undef no_argument
|
||||
#undef required_argument
|
||||
#undef optional_argument
|
||||
#undef _GETOPT_H_
|
||||
#endif
|
||||
|
||||
#include "../../include/getopt.h"
|
||||
|
Loading…
Reference in New Issue
Block a user