X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib-src%2Fgetopt.h;h=6bf8e080115fa882da3e763c6b9940c8915ac253;hb=0c693dc08f0794304711787b2eb47c144ea4bef1;hp=d5ad6a301a4ea78c98c3cf90c9b4bc47a949ea90;hpb=716cfba952c1dc0d2cf5c968971f3780ba728a89;p=chise%2Fxemacs-chise.git.1 diff --git a/lib-src/getopt.h b/lib-src/getopt.h index d5ad6a3..6bf8e08 100644 --- a/lib-src/getopt.h +++ b/lib-src/getopt.h @@ -98,7 +98,7 @@ struct option #define required_argument 1 #define optional_argument 2 -#if defined (__GNU_LIBRARY__) || defined (__cplusplus) +#if defined (__GNU_LIBRARY__) || defined (__cplusplus) || defined (CYGWIN) /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in stdlib.h. To avoid compilation errors, only prototype getopt for the GNU C library. */