summaryrefslogtreecommitdiffstats
path: root/compat/msvcrt/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/msvcrt/snprintf.c')
-rw-r--r--compat/msvcrt/snprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat/msvcrt/snprintf.c b/compat/msvcrt/snprintf.c
index 6787aad..c64653f 100644
--- a/compat/msvcrt/snprintf.c
+++ b/compat/msvcrt/snprintf.c
@@ -27,6 +27,10 @@
#include "compat/va_copy.h"
#include "libavutil/error.h"
+#if defined(__MINGW32__)
+#define EOVERFLOW EFBIG
+#endif
+
int avpriv_snprintf(char *s, size_t n, const char *fmt, ...)
{
va_list ap;
OpenPOWER on IntegriCloud