summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-12-01 17:25:20 +0100
committerBram Moolenaar <Bram@vim.org>2016-12-01 17:25:20 +0100
commitb129a447f3b580d4c941869672b0557c52c37e4d (patch)
tree8f21d9d1f0f3fd42e4bf5d203c280a44b166d0a8 /src/vim.h
parent65e08ee1d26aa7bf341ac0e0400839d696d1ab64 (diff)
downloadvim-git-b129a447f3b580d4c941869672b0557c52c37e4d.tar.gz
patch 8.0.0109v8.0.0109
Problem: Still checking if memcmp() exists while every system should have it now. Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/vim.h b/src/vim.h
index d7bf26fe2..de26c63db 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1733,17 +1733,6 @@ void mch_memmove(void *, void *, size_t);
void *vim_memset(void *, int, size_t);
#endif
-#ifdef HAVE_MEMCMP
-# define vim_memcmp(p1, p2, len) memcmp((p1), (p2), (len))
-#else
-# ifdef HAVE_BCMP
-# define vim_memcmp(p1, p2, len) bcmp((p1), (p2), (len))
-# else
-int vim_memcmp(void *, void *, size_t);
-# define VIM_MEMCMP
-# endif
-#endif
-
#if defined(UNIX) || defined(FEAT_GUI) || defined(VMS) \
|| defined(FEAT_CLIENTSERVER)
# define USE_INPUT_BUF