define no_argument and friends if needed in compat/getopt
This commit is contained in:
parent
86fe433eed
commit
6851ff2737
|
@ -60,7 +60,17 @@ extern int optind, opterr, optopt;
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* If these are variously #defined, then we have bigger problems */
|
||||
#ifndef no_argument
|
||||
#define no_argument 0
|
||||
#define required_argument 1
|
||||
#define optional_argument 2
|
||||
#endif
|
||||
|
||||
/* HAVE_GETOPT_LONG */
|
||||
#endif
|
||||
|
||||
/* pragma once */
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue