summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-30 21:48:49 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-30 21:48:49 +0100
commitba4ef2757cfc126f342b710f1ad9ea39e6b56cec (patch)
tree6cf877a8c549b74c010e51be5ca91cd436b39162 /src/misc2.c
parentb638a7be952544ceb03052c25b84224577a6494b (diff)
downloadvim-git-ba4ef2757cfc126f342b710f1ad9ea39e6b56cec.tar.gz
patch 7.4.1216v7.4.1216
Problem: Still using HAVE_STDARG_H. Solution: Assume it's always defined.
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 03cb4b1cf..05f779f9b 100644
--- 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);
}