Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-12-12 01:22:43 +0300
committerChristopher Faylor <me@cgf.cx>2001-12-12 01:22:43 +0300
commit9b02812029793a7ad9636dcfef6efc980e0b3afa (patch)
tree855e7484f5c758a8ceb4e554bec4245157d89687
parentc4d15ff44315f362498a3d27813d699f2b72c631 (diff)
* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/getopt.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index bacc2624e..4e30b0dd6 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 b05b32fdd..beca375c8 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