diff options
author | Max Kellermann <max@duempel.org> | 2015-03-05 08:03:38 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-05 08:58:04 +0100 |
commit | 6887d5d347ff6349ae117cb8f16ead97c27cc427 (patch) | |
tree | 03e70d6aa40dddf73305e027c44491da00c0088b /src/fs/Traits.hxx | |
parent | 39c96694454822ade1d3a686f6e29bd52fa5a4d1 (diff) | |
download | mpd-6887d5d347ff6349ae117cb8f16ead97c27cc427.tar.gz mpd-6887d5d347ff6349ae117cb8f16ead97c27cc427.tar.xz mpd-6887d5d347ff6349ae117cb8f16ead97c27cc427.zip |
fs/Traits: use TCHAR on Windows
Diffstat (limited to 'src/fs/Traits.hxx')
-rw-r--r-- | src/fs/Traits.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/Traits.hxx b/src/fs/Traits.hxx index b557dd752..cdd9b531d 100644 --- a/src/fs/Traits.hxx +++ b/src/fs/Traits.hxx @@ -26,13 +26,18 @@ #ifdef WIN32 #include "util/CharUtil.hxx" +#include <tchar.h> #endif #include <string> #include <assert.h> +#ifdef WIN32 +#define PATH_LITERAL(s) _T(s) +#else #define PATH_LITERAL(s) (s) +#endif /** * This class describes the nature of a native filesystem path. |