summaryrefslogtreecommitdiff
path: root/output.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-09-22 00:48:05 -0400
committerPaul Smith <psmith@gnu.org>2013-09-22 17:10:34 -0400
commit1a991ada47e0c98ddcb4b2d30b1cf14e4b6a949a (patch)
treeccb9468c060d3455ab7ded3f661d3a5006c630c1 /output.c
parent7e77685bc35dd0217ed3c72529b2aaf8466b991d (diff)
downloadgunmake-1a991ada47e0c98ddcb4b2d30b1cf14e4b6a949a.tar.gz
Add VMS port updates from Hartmut Becker.
Diffstat (limited to 'output.c')
-rw-r--r--output.c7
1 files changed, 5 insertions, 2 deletions
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)
{