Mercurial > vim
diff src/misc2.c @ 7838:cfed0e9f0ca2 v7.4.1216
commit https://github.com/vim/vim/commit/ba4ef2757cfc126f342b710f1ad9ea39e6b56cec
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 21:48:49 2016 +0100
patch 7.4.1216
Problem: Still using HAVE_STDARG_H.
Solution: Assume it's always defined.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 22:00:05 +0100 |
parents | 2a8d6b2dd925 |
children | 28f569c7dab9 |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -6023,11 +6023,7 @@ emsg3(char_u *s, char_u *a1, char_u *a2) { if (emsg_not_now()) return TRUE; /* no error messages at the moment */ -#ifdef HAVE_STDARG_H vim_snprintf((char *)IObuff, IOSIZE, (char *)s, a1, a2); -#else - vim_snprintf((char *)IObuff, IOSIZE, (char *)s, (long_u)a1, (long_u)a2); -#endif return emsg(IObuff); }