Win32 dirent: change FILENAME_MAX to MAX_PATH
commit4fd75cf653c1c5424681046ebb8b4da093d49cc4
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 3 May 2012 15:40:12 +0000 (3 10:40 -0500)
treee280e091e2314fe28b64e69ac36a5b91f91557f9
parent48c44a6c2fef48a70ab54e17a0696a3f5b93d198
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