diff lib-src/getopt.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 8de8e3f6228a
children ed624ab64583
line wrap: on
line diff
--- a/lib-src/getopt.h	Mon Aug 13 11:33:40 2007 +0200
+++ b/lib-src/getopt.h	Mon Aug 13 11:35:02 2007 +0200
@@ -98,7 +98,7 @@
 #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.  */