Win32 dirent: change FILENAME_MAX to MAX_PATH
commit1a2382f13d5b3e5c4c6ec360c329b7cd473d8f65
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 19 Jun 2012 22:36:46 +0000 (19 23:36 +0100)
tree1e7edb753dc0d3af6f4a4490cfdb7e5314762c1c
parent860953b16713c437340c396a4fc0c33c28c3ad58
Win32 dirent: change FILENAME_MAX to MAX_PATH

FILENAME_MAX and MAX_PATH are both 260 on Windows, however, MAX_PATH is
used throughout the other Win32 code in Git, and also defines the length
of file name buffers in the Win32 API (e.g. WIN32_FIND_DATA.cFileName,
from which we're copying the dirent data).

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
compat/win32/dirent.h