Changeset 123 for trunk/src/emx/include/getopt.h
- Timestamp:
- May 12, 2003, 12:48:43 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/getopt.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r122 r123 1 1 /* Declarations for getopt. 2 Copyright (C) 1989,90,91,92,93,94,96,97 Free Software Foundation, Inc. 2 Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000 3 Free Software Foundation, Inc. 3 4 4 5 NOTE: The canonical source of this file is maintained with the GNU C Library. … … 100 101 101 102 #if defined (__STDC__) && __STDC__ 102 #ifdef __GNU_LIBRARY__ 103 /* HAVE_DECL_* is a three-state macro: undefined, 0 or 1. If it is 104 undefined, we haven't run the autoconf check so provide the 105 declaration without arguments. If it is 0, we checked and failed 106 to find the declaration so provide a fully prototyped one. If it 107 is 1, we found it so don't provide any declaration at all. */ 108 #if defined (__GNU_LIBRARY__) || (defined (HAVE_DECL_GETOPT) && !HAVE_DECL_GETOPT) 103 109 /* Many other libraries have conflicting prototypes for getopt, with 104 110 differences in the consts, in stdlib.h. To avoid compilation … … 106 112 extern int getopt (int argc, char *const *argv, const char *shortopts); 107 113 #else /* not __GNU_LIBRARY__ */ 114 # if !defined (HAVE_DECL_GETOPT) && !defined (__cplusplus) 108 115 extern int getopt (); 116 # endif 109 117 #endif /* __GNU_LIBRARY__ */ 110 118 extern int getopt_long (int argc, char *const *argv, const char *shortopts, -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.