equal
deleted
inserted
replaced
145 If OPTS begins with `--', then non-option arguments are treated as |
145 If OPTS begins with `--', then non-option arguments are treated as |
146 arguments to the option '\0'. This behavior is specific to the GNU |
146 arguments to the option '\0'. This behavior is specific to the GNU |
147 `getopt'. */ |
147 `getopt'. */ |
148 |
148 |
149 #if (defined __STDC__ && __STDC__) || defined __cplusplus |
149 #if (defined __STDC__ && __STDC__) || defined __cplusplus |
150 # ifdef __GNU_LIBRARY__ |
150 # if (defined __GNU_LIBRARY__ || __CYGWIN__ || __MINGW32__) |
151 /* Many other libraries have conflicting prototypes for getopt, with |
151 /* Many other libraries have conflicting prototypes for getopt, with |
152 differences in the consts, in stdlib.h. To avoid compilation |
152 differences in the consts, in stdlib.h. To avoid compilation |
153 errors, only prototype getopt for the GNU C library. */ |
153 errors, only prototype getopt for the GNU C library. */ |
154 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts); |
154 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts); |
155 # else /* not __GNU_LIBRARY__ */ |
155 # else /* not __GNU_LIBRARY__ */ |