Use g_strdup instead of strdup
Cygwin does not seem to have strdup.
This commit is contained in:
parent
30cbe6158d
commit
cf92cb7e00
|
@ -586,7 +586,7 @@ struct output_options_t : option_group_t
|
|||
if (output_format)
|
||||
{
|
||||
output_format++; /* skip the dot */
|
||||
output_format = strdup (output_format);
|
||||
output_format = g_strdup (output_format);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue