summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/getopt.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-12-26 17:48:44 +0000
committerChristopher Faylor <me@cgf.cx>2001-12-26 17:48:44 +0000
commitdcd8b9be826107fd74cc91052825730f0f21fb62 (patch)
tree53766a85a0063df7b2f47054de809b8f05b3dc31 /winsup/cygwin/include/getopt.h
parentc02e32c9bd099994f6042d079051d1aa574f619e (diff)
downloadcygnal-dcd8b9be826107fd74cc91052825730f0f21fb62.tar.gz
cygnal-dcd8b9be826107fd74cc91052825730f0f21fb62.tar.bz2
cygnal-dcd8b9be826107fd74cc91052825730f0f21fb62.zip
* include/getopt.h: Protect a declaratin.
Diffstat (limited to 'winsup/cygwin/include/getopt.h')
-rw-r--r--winsup/cygwin/include/getopt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h
index d3a3df9b8..7cbefbbb2 100644
--- a/winsup/cygwin/include/getopt.h
+++ b/winsup/cygwin/include/getopt.h
@@ -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