Win32 dirent: change FILENAME_MAX to MAX_PATH
commit53b02733ec6ecd96d8f6af38ef16060a2e9bdc5c
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:43:14 +0000 (7 17:43 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 6 Apr 2012 21:47:16 +0000 (6 16:47 -0500)
treec5eaea422274448e69a27a6852dab75b83a7d54d
parent5b9bfb51f33a6dc600909718f650862625f9bb2c
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