mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
Merge pull request #3979 from sethjackson/maxnamlen
Windows: define MAXNAMLEN for Windows
This commit is contained in:
@@ -25,6 +25,10 @@
|
||||
# define MAXNAMLEN NAME_MAX /* for Linux before .99p3 */
|
||||
#endif
|
||||
|
||||
#if defined(_MAX_PATH) && !defined(MAXNAMLEN)
|
||||
# define MAXNAMLEN _MAX_PATH /* for Windows */
|
||||
#endif
|
||||
|
||||
// Default value.
|
||||
#ifndef MAXNAMLEN
|
||||
# define MAXNAMLEN 512
|
||||
|
||||
Reference in New Issue
Block a user