diff options
author | Christopher Faylor <me@cgf.cx> | 2001-12-11 22:22:43 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-12-11 22:22:43 +0000 |
commit | 9b02812029793a7ad9636dcfef6efc980e0b3afa (patch) | |
tree | 855e7484f5c758a8ceb4e554bec4245157d89687 | |
parent | c4d15ff44315f362498a3d27813d699f2b72c631 (diff) | |
download | newlib-9b02812029793a7ad9636dcfef6efc980e0b3afa.zip newlib-9b02812029793a7ad9636dcfef6efc980e0b3afa.tar.gz newlib-9b02812029793a7ad9636dcfef6efc980e0b3afa.tar.bz2 |
* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.
-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 |