From bd5422406d37a039e6eeb4fb9837825779f6024c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Sun, 16 Jun 2013 17:07:55 +0200 Subject: [PATCH] include: Check for getopt_long_only instead of getopt_long. --- include/wine/port.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wine/port.h b/include/wine/port.h index 76a0b3e181e..09dbf614dbd 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -229,7 +229,7 @@ static inline float __port_nan(void) int fstatvfs( int fd, struct statvfs *buf ); #endif -#ifndef HAVE_GETOPT_LONG +#ifndef HAVE_GETOPT_LONG_ONLY extern char *optarg; extern int optind; 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, const char *__shortopts, const struct option *__longopts, int *__longind); -#endif /* HAVE_GETOPT_LONG */ +#endif /* HAVE_GETOPT_LONG_ONLY */ #ifndef HAVE_FFS int ffs( int x );