From dcd8b9be826107fd74cc91052825730f0f21fb62 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 26 Dec 2001 17:48:44 +0000 Subject: * include/getopt.h: Protect a declaratin. --- winsup/cygwin/include/getopt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/include/getopt.h') 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 -- cgit v1.2.3