Win32 dirent: change FILENAME_MAX to MAX_PATH
commit77eec7f444f103d616a1ac99e11447d4150f5236
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 1 Oct 2012 13:34:33 +0000 (1 14:34 +0100)
treedbd3072e6be8a326ff2cafa2127b079ee15984cb
parent6222c2ffe9aee47c6fda02c452edba43856c7aff
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