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