ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/hydrodynamics/HydroCmd.cpp
(Generate patch)

Comparing:
branches/development/src/applications/hydrodynamics/HydroCmd.cpp (file contents), Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
trunk/src/applications/hydrodynamics/HydroCmd.cpp (file contents), Revision 1795 by gezelter, Fri Sep 7 18:13:55 2012 UTC

# Line 21 | Line 21
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  
# Line 399 | Line 403 | int update_arg(void *field, char **orig_field,
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)))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines