Win32 dirent: change FILENAME_MAX to MAX_PATH
commit38370f2e024221ebf081a8385a6bbd4db89d4c7a
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 29 May 2012 02:18:51 +0000 (28 21:18 -0500)
tree16e361851c872d55206d4f40f5bd8cd9ccd19faf
parentc47e0760e93d5c4c86c494004a19133df904aaaa
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