=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: include: Check for getopt_long_only instead of getopt_long.
Alexandre Julliard
julliard at winehq.org
Mon Jun 17 14:07:47 CDT 2013
Module: wine
Branch: master
Commit: bd5422406d37a039e6eeb4fb9837825779f6024c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bd5422406d37a039e6eeb4fb9837825779f6024c
Author: André Hentschel <nerv at 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 );
More information about the wine-cvs
mailing list