mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
Delete local function strerror and USE_GETCWD define.
Both are useless after porting mch_dirname to libuv.
This commit is contained in:

committed by
Thiago de Arruda

parent
8437a4c972
commit
82e0636e78
@@ -42,16 +42,6 @@
|
||||
* Sun defines FILE on SunOS 4.x.x, Solaris has a typedef for FILE
|
||||
*/
|
||||
|
||||
/*
|
||||
* Using getcwd() is preferred, because it checks for a buffer overflow.
|
||||
* Don't use getcwd() on systems do use system("sh -c pwd"). There is an
|
||||
* autoconf check for this.
|
||||
* Use getcwd() anyway if getwd() isn't present.
|
||||
*/
|
||||
#if defined(HAVE_GETCWD) && !(defined(BAD_GETCWD) && defined(HAVE_GETWD))
|
||||
# define USE_GETCWD
|
||||
#endif
|
||||
|
||||
#ifndef __ARGS
|
||||
/* The AIX VisualAge cc compiler defines __EXTENDED__ instead of __STDC__
|
||||
* because it includes pre-ansi features. */
|
||||
|
Reference in New Issue
Block a user