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/CommandLine.cxx | |
parent | 9508ea982b8feb012a9d354a7c80005421a854bc (diff) | |
download | mpd-e4e80ff0cb2dc269bf56b5eb96571b681edeed05.tar.gz mpd-e4e80ff0cb2dc269bf56b5eb96571b681edeed05.tar.xz mpd-e4e80ff0cb2dc269bf56b5eb96571b681edeed05.zip |
*: use WIN32 instead of G_OS_WIN32
Diffstat (limited to 'src/CommandLine.cxx')
-rw-r--r-- | src/CommandLine.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx index 85c929420..22f0ccc02 100644 --- a/src/CommandLine.cxx +++ b/src/CommandLine.cxx @@ -54,7 +54,7 @@ #ifdef WIN32 #define CONFIG_FILE_LOCATION "\\mpd\\mpd.conf" -#else /* G_OS_WIN32 */ +#else #define USER_CONFIG_FILE_LOCATION1 ".mpdconf" #define USER_CONFIG_FILE_LOCATION2 ".mpd/mpd.conf" #define USER_CONFIG_FILE_LOCATION_XDG "mpd/mpd.conf" @@ -219,7 +219,7 @@ parse_cmdline(int argc, char **argv, struct options *options, if (!path.IsNull() && FileExists(path)) return ReadConfigFile(path, error); } -#else /* G_OS_WIN32 */ +#else Path path = PathBuildChecked(Path::FromUTF8(g_get_user_config_dir()), USER_CONFIG_FILE_LOCATION_XDG); if (!path.IsNull() && FileExists(path)) |