aboutsummaryrefslogtreecommitdiff
path: root/compat/msvcrt
diff options
context:
space:
mode:
authorDerek Buitenhuis2012-09-14 15:08:19 -0400
committerDerek Buitenhuis2012-09-15 19:46:48 -0400
commite1b449604018c4e5eedf4abf393c0a170fd407cb (patch)
tree8cf1f2122d139464dc831c0ba8e04d28daab1115 /compat/msvcrt
parent31fbdecce8ecb5dbdc8de65553c4405b0827cc97 (diff)
msvc: Add a va_copy compatability macro for msvc
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'compat/msvcrt')
-rw-r--r--compat/msvcrt/snprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/msvcrt/snprintf.c b/compat/msvcrt/snprintf.c
index 0800192338..36f6dd17cb 100644
--- a/compat/msvcrt/snprintf.c
+++ b/compat/msvcrt/snprintf.c
@@ -24,6 +24,7 @@
#include <limits.h>
#include <string.h>
+#include "compat/va_copy.h"
#include "libavutil/error.h"
int avpriv_snprintf(char *s, size_t n, const char *fmt, ...)