aboutsummaryrefslogtreecommitdiffstats
path: root/src/CommandLine.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommandLine.cxx')
-rw-r--r--src/CommandLine.cxx10
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(