Mercurial > hg > xemacs-beta
comparison lib-src/getopt.h @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 74fd4e045ea6 |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
96 | 96 |
97 #define no_argument 0 | 97 #define no_argument 0 |
98 #define required_argument 1 | 98 #define required_argument 1 |
99 #define optional_argument 2 | 99 #define optional_argument 2 |
100 | 100 |
101 #if defined (__GNU_LIBRARY__) || defined (__cplusplus) | 101 #if defined (__GNU_LIBRARY__) || defined (__cplusplus) || defined (CYGWIN) |
102 /* Many other libraries have conflicting prototypes for getopt, with | 102 /* Many other libraries have conflicting prototypes for getopt, with |
103 differences in the consts, in stdlib.h. To avoid compilation | 103 differences in the consts, in stdlib.h. To avoid compilation |
104 errors, only prototype getopt for the GNU C library. */ | 104 errors, only prototype getopt for the GNU C library. */ |
105 extern int getopt (int argc, char *const *argv, const char *shortopts); | 105 extern int getopt (int argc, char *const *argv, const char *shortopts); |
106 #else /* not __GNU_LIBRARY__ || C++ */ | 106 #else /* not __GNU_LIBRARY__ || C++ */ |