aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index fa00d9efcf..2e20d48f90 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -27,9 +27,6 @@ Error: configure did not run properly.Check auto/config.log.
# endif
#endif
-/* user ID of root is usually zero, but not for everybody */
-#define ROOT_UID 0
-
/* Can't use "PACKAGE" here, conflicts with a Perl include file. */
#ifndef VIMPACKAGE
@@ -38,9 +35,11 @@ Error: configure did not run properly.Check auto/config.log.
#include "nvim/os/os_defs.h" /* bring lots of system header files */
-#define NUMBUFLEN 30 /* length of a buffer to store a number in ASCII */
+#define NUMBUFLEN 65 // length of a buffer to store a number in ASCII
-# define MAX_TYPENR 65535
+#define MAX_TYPENR 65535
+
+#define ROOT_UID 0
#include "nvim/keymap.h"
#include "nvim/macros.h"
@@ -232,15 +231,6 @@ enum {
/* Size in bytes of the hash used in the undo file. */
#define UNDO_HASH_SIZE 32
-#ifdef HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
-
-
-#ifndef O_NOFOLLOW
-# define O_NOFOLLOW 0
-#endif
-
/*
* defines to avoid typecasts from (char_u *) to (char *) and back
* (vim_strchr() and vim_strrchr() are now in alloc.c)