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.
This commit is contained in:

committed by
Max Kellermann

parent
055257a210
commit
25d053cbf2
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "decoder_api.h"
|
||||
#include "glib_compat.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
|
Reference in New Issue
Block a user