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