mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 19:11:52 +00:00
Merge pull request #4030 from sethjackson/unistd
config: Remove HAVE_UNISTD_H
This commit is contained in:
@@ -10,10 +10,6 @@
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/os/time.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define USR_LOG_FILE "$HOME" _PATHSEPSTR ".nvimlog"
|
||||
|
||||
static uv_mutex_t mutex;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define NVIM_OS_UNIX_DEFS_H
|
||||
|
||||
// Windows doesn't have unistd.h, so we include it here to avoid numerous
|
||||
// instances of `#ifdef HAVE_UNISTD_H'.
|
||||
// instances of `#ifdef WIN32'.
|
||||
#include <unistd.h>
|
||||
|
||||
// POSIX.1-2008 says that NAME_MAX should be in here
|
||||
|
||||
@@ -6,9 +6,6 @@
|
||||
#include <inttypes.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <assert.h>
|
||||
|
||||
#include <msgpack.h>
|
||||
|
||||
Reference in New Issue
Block a user