21 |
|
#define FIX_UNUSED(X) (void) (X) /* avoid warnings for unused params */ |
22 |
|
#endif |
23 |
|
|
24 |
+ |
#ifdef WIN32 |
25 |
+ |
#include "utils/wingetopt.h" |
26 |
+ |
#else |
27 |
|
#include <getopt.h> |
28 |
+ |
#endif |
29 |
|
|
30 |
|
#include "HydroCmd.h" |
31 |
|
|
403 |
|
const char *long_opt, char short_opt, |
404 |
|
const char *additional_error) |
405 |
|
{ |
402 |
– |
char *stop_char = 0; |
406 |
|
const char *val = value; |
407 |
|
int found; |
408 |
|
char **string_field; |
409 |
|
FIX_UNUSED (field); |
410 |
|
|
408 |
– |
stop_char = 0; |
411 |
|
found = 0; |
412 |
|
|
413 |
|
if (!multiple_option && prev_given && (*prev_given || (check_ambiguity && *field_given))) |