diff options
author | Paul Smith <psmith@gnu.org> | 2013-09-22 17:10:34 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-09-22 17:10:34 -0400 |
commit | 26f4525ebafeed12948bd1dbbda99257f833b090 (patch) | |
tree | ccb9468c060d3455ab7ded3f661d3a5006c630c1 /output.c | |
parent | bd2bcaeda6ccaddcac9f5170501c804c02d05b86 (diff) | |
download | make-26f4525ebafeed12948bd1dbbda99257f833b090.tar.gz |
Add VMS port updates from Hartmut Becker.
Diffstat (limited to 'output.c')
-rw-r--r-- | output.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -52,9 +52,12 @@ unsigned int stdio_traced = 0; especially for non-UNIX platforms: how to get bootstrapping to work, etc. I don't want to take the time to do it right now. Use a hack to get a useful version of vsnprintf() for Windows. */ +#ifdef __VMS +# define va_copy(_d, _s) ((_d) = (_s)) +#endif #ifdef _MSC_VER -#define va_copy(_d, _s) ((_d) = (_s)) -#define snprintf msc_vsnprintf +# define va_copy(_d, _s) ((_d) = (_s)) +# define snprintf msc_vsnprintf static int msc_vsnprintf (char *str, size_t size, const char *format, va_list ap) { |