summaryrefslogtreecommitdiff
path: root/lib9/fmtdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib9/fmtdef.h')
-rw-r--r--lib9/fmtdef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib9/fmtdef.h b/lib9/fmtdef.h
index 071041cf..9b0e9782 100644
--- a/lib9/fmtdef.h
+++ b/lib9/fmtdef.h
@@ -96,3 +96,7 @@ void _fmtunlock(void);
t += runetochar(t, &_rune);\
}\
}while(0)
+
+#ifndef va_copy
+#define va_copy(a, b) ((a) = (b))
+#endif