]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't #define and #undef getopt around <stdlib.h>,
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Nov 2004 18:44:33 +0000 (18:44 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Nov 2004 18:44:33 +0000 (18:44 +0000)
as this breaks the new regime that does "#define getopt rpl_getopt".

src/system.h

index 3497969a49373bed35259006e87d5c50651eaaa7..79ceb7748a80fdf204483cb99185f753427b9740 100644 (file)
@@ -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