Win32 dirent: change FILENAME_MAX to MAX_PATH
commit6036a57fe71aa2a03e1fbdcc9694d64e18a3d968
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 20 May 2012 23:45:31 +0000 (20 17:45 -0600)
tree8eab0fea5856ef678af64fa624d5d6e1588e7a3d
parentba40c6a802fb5e1a05bf2063b086bc162b87b079
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