From: cgf Date: Tue, 11 Dec 2001 22:22:42 +0000 (+0000) Subject: * include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=93fa72401bcb417d06b6e76be546157096ce5cce;p=pf3gnuchains%2Fpf3gnuchains3x.git * include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bacc2624e4..4e30b0dd61 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2001-12-11 Christopher Faylor + + * include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere. + 2001-12-10 Christopher Faylor * fhandler.h (fhandler_serial::ev): New class member. diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h index b05b32fddc..beca375c87 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