Win32 dirent: change FILENAME_MAX to MAX_PATH
commita9a0b0493b20057816f3db148067f355a73eea67
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 6 Aug 2011 11:44:43 +0000 (6 13:44 +0200)
tree16b38c39b25c3301b5b9f631adca8f8b2a4e3d6d
parent89ab2f2ed2d00e6ae78d716f9dd5c98866694023
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