Commit bd542240 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

include: Check for getopt_long_only instead of getopt_long.

parent f56a36e1
...@@ -229,7 +229,7 @@ static inline float __port_nan(void) ...@@ -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, ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment