X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fgetopt.h;h=6bf8e080115fa882da3e763c6b9940c8915ac253;hb=22a9f0714ccc24bf0db699769ae42bb8b3ad1f03;hp=d5ad6a301a4ea78c98c3cf90c9b4bc47a949ea90;hpb=c8aa261a7bf3eb1389d2e018be1d715f73cacd66;p=chise%2Fxemacs-chise.git- 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. */