diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/getopt.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bacc262..4e30b0d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2001-12-11 Christopher Faylor <cgf@redhat.com> + + * include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere. + 2001-12-10 Christopher Faylor <cgf@redhat.com> * fhandler.h (fhandler_serial::ev): New class member. diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h index b05b32f..beca375 100644 --- a/winsup/cygwin/include/getopt.h +++ b/winsup/cygwin/include/getopt.h @@ -54,6 +54,7 @@ extern char *optarg; /* argument associated with option */ int getopt (int, char * const *, const char *); int getopt_long (int, char *const *, const char *, const struct option *, int *); +#define HAVE_DECL_GETOPT 1 #define no_argument 0 #define required_argument 1 |