Win32 dirent: change FILENAME_MAX to MAX_PATH
commit8c44fd44f4ee5bc01e05031cc93e0eac16a9c4d9
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:39:51 +0000 (29 10:39 +0200)
tree2efdf5dec01bee48d361254dba7571246c2cd43d
parent166b5bf6d570d16c191c0fa8c620d131ad26938d
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