Module: wine Branch: master Commit: bd5422406d37a039e6eeb4fb9837825779f6024c URL: http://source.winehq.org/git/wine.git/?a=commit;h=bd5422406d37a039e6eeb4fb98...
Author: André Hentschel nerv@dawncrow.de Date: Sun Jun 16 17:07:55 2013 +0200
include: Check for getopt_long_only instead of getopt_long.
---
include/wine/port.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/wine/port.h b/include/wine/port.h index 76a0b3e..09dbf61 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 );