From 9453b7230b68eef6a13403a124a288e9f95591cd Mon Sep 17 00:00:00 2001 From: Wayne Rowcliffe Date: Sat, 19 Jul 2014 22:49:56 -0500 Subject: Statically allocate NameBuff --- src/nvim/vim.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/nvim/vim.h') diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 5d903633e4..6479aeaafb 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -45,18 +45,6 @@ Error: configure did not run properly.Check auto/config.log. #include "nvim/os_unix_defs.h" /* bring lots of system header files */ -/* - * Maximum length of a path (for non-unix systems) Make it a bit long, to stay - * on the safe side. But not too long to put on the stack. - */ -#ifndef MAXPATHL -# ifdef MAXPATHLEN -# define MAXPATHL MAXPATHLEN -# else -# define MAXPATHL 256 -# endif -#endif - #define NUMBUFLEN 30 /* length of a buffer to store a number in ASCII */ # define MAX_TYPENR 65535 -- cgit