OSDN Git Service

* include/getopt.h: Protect a declaratin.
authorcgf <cgf>
Wed, 26 Dec 2001 17:48:44 +0000 (17:48 +0000)
committercgf <cgf>
Wed, 26 Dec 2001 17:48:44 +0000 (17:48 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/getopt.h

index 54c62f1..bafc5c7 100644 (file)
@@ -1,9 +1,14 @@
+2001-12-26  Christopher Faylor  <cgf@redhat.com>
+
+       * include/getopt.h: Protect a declaratin.
+
 2001-12-26  Robert Collins  <rbtcollins@hotmail.com>
 
-       * thread.cc (pthread_cond::Signal): Use a separate flag for signal detection
-       and broadcast semantics.
+       * thread.cc (pthread_cond::Signal): Use a separate flag for signal
+       detection and broadcast semantics.
        (__pthread_cond_dowait): Ditto.
-       * thread.h (pthread_cond): New flag for testing when a waiter has woken.
+       * thread.h (pthread_cond): New flag for testing when a waiter has
+       woken.
 
 2001-12-26  Christopher Faylor  <cgf@redhat.com>
 
index d3a3df9..7cbefbb 100644 (file)
@@ -68,7 +68,9 @@ struct option {
 };
 
 int getopt_long (int, char *const *, const char *, const struct option *, int *);
-#define HAVE_DECL_GETOPT 1
+#ifndef HAVE_DECL_GETOPT
+#define HAVE_DECL_GETOPT 0
+#endif
 
 #define no_argument             0
 #define required_argument       1