diff options
author | Max Kellermann <max@duempel.org> | 2015-03-05 08:02:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-05 08:58:04 +0100 |
commit | 39c96694454822ade1d3a686f6e29bd52fa5a4d1 (patch) | |
tree | c4a9c64a84c09caa9d0d8057a5a71be53536dcb7 /src/CommandLine.cxx | |
parent | 44565e22a054b9bdeb48e79e1d23f914b7efaa0f (diff) |
fs/Traits: add macro PATH_LITERAL()
Diffstat (limited to 'src/CommandLine.cxx')
-rw-r--r-- | src/CommandLine.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx index 33d8117fb..e87b1676f 100644 --- a/src/CommandLine.cxx +++ b/src/CommandLine.cxx @@ -66,12 +66,12 @@ #include <stdlib.h> #ifdef WIN32 -#define CONFIG_FILE_LOCATION "mpd\\mpd.conf" -#define APP_CONFIG_FILE_LOCATION "conf\\mpd.conf" +#define CONFIG_FILE_LOCATION PATH_LITERAL("mpd\\mpd.conf") +#define APP_CONFIG_FILE_LOCATION PATH_LITERAL("conf\\mpd.conf") #else -#define USER_CONFIG_FILE_LOCATION1 ".mpdconf" -#define USER_CONFIG_FILE_LOCATION2 ".mpd/mpd.conf" -#define USER_CONFIG_FILE_LOCATION_XDG "mpd/mpd.conf" +#define USER_CONFIG_FILE_LOCATION1 PATH_LITERAL(".mpdconf") +#define USER_CONFIG_FILE_LOCATION2 PATH_LITERAL(".mpd/mpd.conf") +#define USER_CONFIG_FILE_LOCATION_XDG PATH_LITERAL("mpd/mpd.conf") #endif static constexpr OptionDef opt_kill( |