Alexandre Julliard : widl: Avoid getopt constants that may not be defined.
Alexandre Julliard
julliard at winehq.org
Tue Mar 4 14:31:40 CST 2008
Module: wine
Branch: master
Commit: 1dca65607b47f050652dd4a47131dd6bb62c3e15
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1dca65607b47f050652dd4a47131dd6bb62c3e15
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 4 12:14:46 2008 +0100
widl: Avoid getopt constants that may not be defined.
---
tools/widl/widl.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tools/widl/widl.c b/tools/widl/widl.c
index 07f024c..bb3f651 100644
--- a/tools/widl/widl.c
+++ b/tools/widl/widl.c
@@ -147,13 +147,13 @@ enum {
static const char short_options[] =
"cC:d:D:EhH:I:NpP:sS:tT:uU:VW";
static const struct option long_options[] = {
- { "dlldata", required_argument, 0, DLLDATA_OPTION },
- { "dlldata-only", no_argument, 0, DLLDATA_ONLY_OPTION },
- { "local-stubs", required_argument, 0, LOCAL_STUBS_OPTION },
- { "oldnames", no_argument, 0, OLDNAMES_OPTION },
- { "prefix-all", required_argument, 0, PREFIX_ALL_OPTION },
- { "prefix-client", required_argument, 0, PREFIX_CLIENT_OPTION },
- { "prefix-server", required_argument, 0, PREFIX_SERVER_OPTION },
+ { "dlldata", 1, 0, DLLDATA_OPTION },
+ { "dlldata-only", 0, 0, DLLDATA_ONLY_OPTION },
+ { "local-stubs", 1, 0, LOCAL_STUBS_OPTION },
+ { "oldnames", 0, 0, OLDNAMES_OPTION },
+ { "prefix-all", 1, 0, PREFIX_ALL_OPTION },
+ { "prefix-client", 1, 0, PREFIX_CLIENT_OPTION },
+ { "prefix-server", 1, 0, PREFIX_SERVER_OPTION },
{ 0, 0, 0, 0 }
};
More information about the wine-cvs
mailing list