include: Check for getopt_long_only instead of getopt_long.

This commit is contained in:
André Hentschel 2013-06-16 17:07:55 +02:00 committed by Alexandre Julliard
parent f56a36e18e
commit bd5422406d

View file

@ -229,7 +229,7 @@ static inline float __port_nan(void)
int fstatvfs( int fd, struct statvfs *buf ); int fstatvfs( int fd, struct statvfs *buf );
#endif #endif
#ifndef HAVE_GETOPT_LONG #ifndef HAVE_GETOPT_LONG_ONLY
extern char *optarg; extern char *optarg;
extern int optind; extern int optind;
extern int opterr; extern int opterr;
@ -252,7 +252,7 @@ extern int getopt_long (int ___argc, char *const *___argv,
extern int getopt_long_only (int ___argc, char *const *___argv, extern int getopt_long_only (int ___argc, char *const *___argv,
const char *__shortopts, const char *__shortopts,
const struct option *__longopts, int *__longind); const struct option *__longopts, int *__longind);
#endif /* HAVE_GETOPT_LONG */ #endif /* HAVE_GETOPT_LONG_ONLY */
#ifndef HAVE_FFS #ifndef HAVE_FFS
int ffs( int x ); int ffs( int x );