From 1a991ada47e0c98ddcb4b2d30b1cf14e4b6a949a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 22 Sep 2013 00:48:05 -0400 Subject: Add VMS port updates from Hartmut Becker. --- output.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'output.c') diff --git a/output.c b/output.c index f58b816..3cf7afb 100644 --- a/output.c +++ b/output.c @@ -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) { -- cgit v1.2.3