diff options
author | Max Kellermann <max@duempel.org> | 2013-10-15 08:33:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-15 08:33:44 +0200 |
commit | e4e80ff0cb2dc269bf56b5eb96571b681edeed05 (patch) | |
tree | dd16a411aa84843a1ee205fd4efc362f76c8d57b /src/fs/Path.cxx | |
parent | 9508ea982b8feb012a9d354a7c80005421a854bc (diff) |
*: use WIN32 instead of G_OS_WIN32
Diffstat (limited to 'src/fs/Path.cxx')
-rw-r--r-- | src/fs/Path.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx index 8f31f45f7..e983c5c82 100644 --- a/src/fs/Path.cxx +++ b/src/fs/Path.cxx @@ -31,7 +31,7 @@ #include <assert.h> #include <string.h> -#ifdef G_OS_WIN32 +#ifdef WIN32 #include <windows.h> // for GetACP() #include <stdio.h> // for sprintf() #endif @@ -158,13 +158,13 @@ void Path::GlobalInit() charset = config_get_string(CONF_FS_CHARSET, NULL); if (charset == NULL) { -#ifndef G_OS_WIN32 +#ifndef WIN32 const gchar **encodings; g_get_filename_charsets(&encodings); if (encodings[0] != NULL && *encodings[0] != '\0') charset = encodings[0]; -#else /* G_OS_WIN32 */ +#else /* Glib claims that file system encoding is always utf-8 * on native Win32 (i.e. not Cygwin). * However this is true only if <gstdio.h> helpers are used. |