From cf92cb7e002f479505fed8c2c55ab12dcbea2d83 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 19 Oct 2018 22:21:39 +0200 Subject: [PATCH] Use g_strdup instead of strdup Cygwin does not seem to have strdup. --- util/options.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/options.hh b/util/options.hh index 3749b99..dd62859 100644 --- a/util/options.hh +++ b/util/options.hh @@ -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); } } -- 2.7.4