mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Don't #define and #undef getopt around <stdlib.h>,
as this breaks the new regime that does "#define getopt rpl_getopt".
This commit is contained in:
1 parent
2dff6afdde
commit
8655b4eabd
1 file changed
-3
@@ -129,10 +129,7 @@ void *memrchr (const void *, int, size_t);
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define getopt system_getopt
|
||||
#include <stdlib.h>
|
||||
#undef getopt
|
||||
|
||||
/* The following test is to work around the gross typo in
|
||||
systems like Sony NEWS-OS Release 4.0C, whereby EXIT_FAILURE
|
||||
|
||||
Reference in new issue
Block a user