fs/Config: add HAVE_GLIB check
This commit is contained in:
parent
41efc1376e
commit
6eb1caa417
@ -46,7 +46,7 @@ ConfigureFS(Error &error)
|
|||||||
static char win_charset[13];
|
static char win_charset[13];
|
||||||
sprintf(win_charset, "cp%u", GetACP());
|
sprintf(win_charset, "cp%u", GetACP());
|
||||||
charset = win_charset;
|
charset = win_charset;
|
||||||
#else
|
#elif defined(HAVE_GLIB)
|
||||||
const gchar **encodings;
|
const gchar **encodings;
|
||||||
g_get_filename_charsets(&encodings);
|
g_get_filename_charsets(&encodings);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user