Mercurial > vim
comparison src/proto.h @ 11653:67cf0d45b006 v8.0.0709
patch 8.0.0709: libvterm cannot use vsnprintf()
commit https://github.com/vim/vim/commit/8327d1df1754b33d8a93b3411f30692f0042f4ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 11 22:34:51 2017 +0200
patch 8.0.0709: libvterm cannot use vsnprintf()
Problem: Libvterm cannot use vsnprintf(), it does not exist in C90.
Solution: Use vim_vsnprintf() instead.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 11 Jul 2017 22:45:03 +0200 |
parents | b8299e742f41 |
children | 7791a15353dc |
comparison
equal
deleted
inserted
replaced
11652:8263fcf185e3 | 11653:67cf0d45b006 |
---|---|
125 # ifdef __BORLANDC__ | 125 # ifdef __BORLANDC__ |
126 _RTLENTRYF | 126 _RTLENTRYF |
127 # endif | 127 # endif |
128 vim_snprintf(char *, size_t, char *, ...); | 128 vim_snprintf(char *, size_t, char *, ...); |
129 | 129 |
130 int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); | 130 int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap); |
131 int vim_vsnprintf_typval(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); | |
131 | 132 |
132 # include "message.pro" | 133 # include "message.pro" |
133 # include "misc1.pro" | 134 # include "misc1.pro" |
134 # include "misc2.pro" | 135 # include "misc2.pro" |
135 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */ | 136 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */ |