mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
port vim_mkdir, mch_rmdir and mch_remove to libuv
This commit is contained in:

committed by
Thiago de Arruda

parent
136e5e5b84
commit
445f31f076
@@ -30,14 +30,9 @@
|
||||
# include <sys/param.h> /* defines BSD, if it's a BSD system */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Sun defines FILE on SunOS 4.x.x, Solaris has a typedef for FILE
|
||||
*/
|
||||
|
||||
/* always use unlink() to remove files */
|
||||
# define vim_mkdir(x, y) mkdir((char *)(x), y)
|
||||
# define mch_rmdir(x) rmdir((char *)(x))
|
||||
# define mch_remove(x) unlink((char *)(x))
|
||||
#define vim_mkdir(x, y) os_mkdir((char *)(x), (y))
|
||||
#define mch_rmdir(x) os_rmdir((char *)(x))
|
||||
#define mch_remove(x) os_remove((char *)(x))
|
||||
|
||||
/* The number of arguments to a signal handler is configured here. */
|
||||
/* It used to be a long list of almost all systems. Any system that doesn't
|
||||
|
Reference in New Issue
Block a user