From 25d053cbf288fb966526c554bea6158ef5c38202 Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Sun, 3 Jun 2012 13:00:11 +0600 Subject: Work around incorrect g_file_test() behavior on Win32 g_file_test is redefined to be g_file_test_utf8 and thus can't handle non-ASCII characters. This fix adds simple wrapper (taken from glib) that fixes encoding and calls g_file_test_utf8. All required inclusions of glib_compat.h are added as well. --- src/decoder/wildmidi_decoder_plugin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/decoder') diff --git a/src/decoder/wildmidi_decoder_plugin.c b/src/decoder/wildmidi_decoder_plugin.c index 66e6c61c..5eb0638d 100644 --- a/src/decoder/wildmidi_decoder_plugin.c +++ b/src/decoder/wildmidi_decoder_plugin.c @@ -19,6 +19,7 @@ #include "config.h" #include "decoder_api.h" +#include "glib_compat.h" #include -- cgit v1.2.3