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-31 07:00:07 +0300
committerChristopher Faylor <me@cgf.cx>2001-12-31 07:00:07 +0300
commit6d218bb5c6da497b5be5697eb07809d5591fbed2 (patch)
tree18cdaabe7b54ee20aca4e207a41522d709c5e9f3
parente56f4d7fc4f734d1f784e898a4f4ace33eb019b3 (diff)
* include/getopt.h: Fix define.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/getopt.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 78253117f..0f7564f9f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,4 +1,8 @@
2001-12-30 Christopher Faylor <cgf@redhat.com>
+
+ * include/getopt.h: Fix define.
+
+2001-12-30 Christopher Faylor <cgf@redhat.com>
Ralf Habacker <Ralf.Habacker@freenet.de>
* speclib: New file.
diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h
index 7cbefbbb2..6b6f643b7 100644
--- a/winsup/cygwin/include/getopt.h
+++ b/winsup/cygwin/include/getopt.h
@@ -69,7 +69,7 @@ struct option {
int getopt_long (int, char *const *, const char *, const struct option *, int *);
#ifndef HAVE_DECL_GETOPT
-#define HAVE_DECL_GETOPT 0
+#define HAVE_DECL_GETOPT 1
#endif
#define no_argument 0