diff -r 474aa35daa95 -r 7717252e3ed9 examples/DS401_Slave_Gui/getopt.h --- a/examples/DS401_Slave_Gui/getopt.h Fri Dec 07 18:22:41 2007 +0100 +++ b/examples/DS401_Slave_Gui/getopt.h Sat Dec 08 15:01:14 2007 +0100 @@ -147,7 +147,7 @@ `getopt'. */ #if (defined __STDC__ && __STDC__) || defined __cplusplus -# ifdef __GNU_LIBRARY__ +# if (defined __GNU_LIBRARY__ || __CYGWIN__ || __MINGW32__) /* 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. */