comparison src/os_win32.h @ 3902:d24d309c365f v7.3.707

updated for version 7.3.707 Problem: Problems loading a library for a file name with non-latin characters. Solution: Use wide system functions when possible. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Sun, 21 Oct 2012 21:38:45 +0200
parents e5b17a5f6516
children e6d8b44065bc
comparison
equal deleted inserted replaced
3901:cc9be61651c6 3902:d24d309c365f
106 /* 106 /*
107 * Win32 has plenty of memory, use large buffers 107 * Win32 has plenty of memory, use large buffers
108 */ 108 */
109 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */ 109 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */
110 110
111 /* _MAX_PATH is only 256 (stdlib.h), but we want more for the 'path' option, 111 /* _MAX_PATH is only 260 (stdlib.h), but we want more for the 'path' option,
112 * thus use a larger number. */ 112 * thus use a larger number. */
113 #define MAXPATHL 1024 113 #define MAXPATHL 1024
114 114
115 #ifndef BASENAMELEN 115 #ifndef BASENAMELEN
116 # define BASENAMELEN (_MAX_PATH - 5) /* length of base of file name */ 116 # define BASENAMELEN (_MAX_PATH - 5) /* length of base of file name */