Mercurial > vim
diff src/proto.h @ 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 | 1a5d34492798 |
children | 563c923b1584 |
line wrap: on
line diff
--- a/src/proto.h +++ b/src/proto.h @@ -104,9 +104,7 @@ extern int _stricoll(char *a, char *b); # include "menu.pro" # endif -# if !defined MESSAGE_FILE || defined(HAVE_STDARG_H) - /* These prototypes cannot be produced automatically and conflict with - * the old-style prototypes in message.c. */ +/* These prototypes cannot be produced automatically. */ int # ifdef __BORLANDC__ _RTLENTRYF @@ -131,10 +129,7 @@ int # endif vim_snprintf(char *, size_t, char *, ...); -# if defined(HAVE_STDARG_H) int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); -# endif -# endif # include "message.pro" # include "misc1.pro"