9 #if defined(CCTOOLS_OPSYS_DARWIN)
11 #if defined(CCTOOLS_OSX_GETOPT_FROM_SDK)
12 #include </Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h>
14 #include </usr/include/getopt.h>
49 #if !defined __GNU_LIBRARY__
54 # ifndef __GNUC_PREREQ
55 # define __GNUC_PREREQ(maj, min) (0)
57 # if defined __cplusplus && __GNUC_PREREQ (2,8)
58 # define __THROW throw ()
132 # define no_argument 0
133 # define required_argument 1
134 # define optional_argument 2
160 #if defined (__STDC__) && __STDC__
161 #ifdef __GNU_LIBRARY__
165 extern int getopt (
int ___argc,
char *
const *___argv,
const char *__shortopts)
168 extern int getopt ();
170 extern int getopt_long (
int ___argc,
char *
const *___argv,
171 const char *__shortopts,
172 const struct option *__longopts,
int *__longind)
174 extern int getopt_long_only (
int ___argc,
char *
const *___argv,
175 const char *__shortopts,
176 const struct option *__longopts,
int *__longind)
179 extern int getopt ();
180 extern int getopt_long ();
181 extern int getopt_long_only ();