summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-24 20:39:31 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-24 20:39:31 +0000
commita7241f5f19fd0865ce697939c347a8c88fb507d5 (patch)
treee1f1c07fe74094539286be048cc3306f6aedb0bc /src/vim.h
parentf233048a129fa7a3b89e064078435181d6421da5 (diff)
downloadvim-git-a7241f5f19fd0865ce697939c347a8c88fb507d5.tar.gz
updated for version 7.2a
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index 71dd3ae2d..d77d4b719 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1329,6 +1329,10 @@ typedef enum
*/
#define MAXMAPLEN 50
+#ifdef HAVE_FCNTL_H
+# include <fcntl.h>
+#endif
+
#ifdef BINARY_FILE_IO
# define WRITEBIN "wb" /* no CR-LF translation */
# define READBIN "rb"
@@ -1379,6 +1383,9 @@ typedef enum
# endif
#endif
+/* Like strcpy() but allows overlapped source and destination. */
+#define STRMOVE(d, s) mch_memmove((d), (s), STRLEN(s) + 1)
+
#ifdef HAVE_STRNCASECMP
# define STRNICMP(d, s, n) strncasecmp((char *)(d), (char *)(s), (size_t)(n))
#else
@@ -1709,7 +1716,8 @@ typedef int proftime_T; /* dummy for function prototypes */
#define VV_MOUSE_LNUM 50
#define VV_MOUSE_COL 51
#define VV_OP 52
-#define VV_LEN 53 /* number of v: vars */
+#define VV_SEARCHFORWARD 53
+#define VV_LEN 54 /* number of v: vars */
#ifdef FEAT_CLIPBOARD