mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
remove HAVE_STRPBRK
strpbrk is a C99 standard function.
This commit is contained in:

committed by
Thiago de Arruda

parent
ec51b04a89
commit
38ff389496
@@ -1071,9 +1071,7 @@ typedef enum {
|
||||
#define STRCAT(d, s) strcat((char *)(d), (char *)(s))
|
||||
#define STRNCAT(d, s, n) strncat((char *)(d), (char *)(s), (size_t)(n))
|
||||
|
||||
#ifdef HAVE_STRPBRK
|
||||
# define vim_strpbrk(s, cs) (char_u *)strpbrk((char *)(s), (char *)(cs))
|
||||
#endif
|
||||
|
||||
#define MSG(s) msg((char_u *)(s))
|
||||
#define MSG_ATTR(s, attr) msg_attr((char_u *)(s), (attr))
|
||||
|
Reference in New Issue
Block a user