aboutsummaryrefslogtreecommitdiffstats
path: root/nt/inc
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2013-10-19 21:17:01 +0300
committerEli Zaretskii <[email protected]>2013-10-19 21:17:01 +0300
commit03d58cca817e8a21414c84696387813687c75261 (patch)
treea56ef7b42604c913d25c9eacf3b056d4f8b33162 /nt/inc
parentfba1763d957981f035f65e807ad4371e11f500e0 (diff)
Start; wrote conversion from UTF-8 to UTF-16 and ANSI.
Diffstat (limited to 'nt/inc')
-rw-r--r--nt/inc/ms-w32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h
index e27ae4daf4..6ecafe46d7 100644
--- a/nt/inc/ms-w32.h
+++ b/nt/inc/ms-w32.h
@@ -152,6 +152,9 @@ extern char *getenv ();
#define MAXPATHLEN _MAX_PATH
#endif
+/* This is used to hold UTF-8 encoded file names. */
+#define MAX_UTF8_PATH (MAXPATHLEN * 4)
+
#ifdef HAVE_NTGUI
# ifndef HAVE_WINDOW_SYSTEM
# define HAVE_WINDOW_SYSTEM 1