Win32 dirent: change FILENAME_MAX to MAX_PATH
commit4a094c7983767a1a2b0b2332590aeb79158b7ecb
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 5 Jun 2012 18:44:18 +0000 (5 13:44 -0500)
tree33a4f9e5dc45a8c9d3c1b4040710d36954c27c2e
parent38ffbfb4d844e7b931acec305cf887d55a26e19c
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