Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
10429:71632fef5928 | 10430:37a441352da2 |
---|---|
48 #endif | 48 #endif |
49 | 49 |
50 #ifdef HAVE_MEMSET | 50 #ifdef HAVE_MEMSET |
51 extern void *memset(void *, int, size_t); | 51 extern void *memset(void *, int, size_t); |
52 #endif | 52 #endif |
53 #ifdef HAVE_BCMP | |
54 extern int bcmp(void *, void *, size_t); | |
55 #endif | |
56 #ifdef HAVE_MEMCMP | |
57 extern int memcmp(const void *, const void *, size_t); | 53 extern int memcmp(const void *, const void *, size_t); |
58 #endif | |
59 #ifdef HAVE_STRPBRK | 54 #ifdef HAVE_STRPBRK |
60 extern char *strpbrk(const char *, const char *); | 55 extern char *strpbrk(const char *, const char *); |
61 #endif | 56 #endif |
62 #ifdef USEBCOPY | 57 #ifdef USEBCOPY |
63 extern void bcopy(char *, char *, int); | 58 extern void bcopy(char *, char *, int); |