Mercurial > vim
diff src/osdef1.h.in @ 10430:37a441352da2 v8.0.0109
commit https://github.com/vim/vim/commit/b129a447f3b580d4c941869672b0557c52c37e4d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 1 17:25:20 2016 +0100
patch 8.0.0109
Problem: Still checking if memcmp() exists while every system should have
it now.
Solution: Remove vim_memcmp(). (James McCoy, closes https://github.com/vim/vim/issues/1295)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 01 Dec 2016 17:30:05 +0100 |
parents | c4f8b1d48f20 |
children | 937c80935bc0 |
line wrap: on
line diff
--- a/src/osdef1.h.in +++ b/src/osdef1.h.in @@ -50,12 +50,7 @@ extern int poll(struct pollfd *, long, i #ifdef HAVE_MEMSET extern void *memset(void *, int, size_t); #endif -#ifdef HAVE_BCMP -extern int bcmp(void *, void *, size_t); -#endif -#ifdef HAVE_MEMCMP extern int memcmp(const void *, const void *, size_t); -#endif #ifdef HAVE_STRPBRK extern char *strpbrk(const char *, const char *); #endif