Win32 dirent: change FILENAME_MAX to MAX_PATH
commit763aeb1a7cbc6ad23cd78c62e4e6abcfa62258bf
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerKarsten Blees <blees@dcon.de>
Sat, 8 Jan 2011 16:30:14 +0000 (8 17:30 +0100)
tree0b8660ea430ba363bf7d3dea10e064fa420e2db8
parent2707ae3d59265b219028804586c8abc10be33ee6
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>
compat/win32/dirent.h