aboutsummaryrefslogtreecommitdiff
path: root/c/tools
diff options
context:
space:
mode:
Diffstat (limited to 'c/tools')
-rw-r--r--c/tools/brotli.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/tools/brotli.c b/c/tools/brotli.c
index 3db34f2..7c678d3 100644
--- a/c/tools/brotli.c
+++ b/c/tools/brotli.c
@@ -6,6 +6,11 @@
/* Command line interface for Brotli library. */
+/* Mute strerror/strcpy warnings. */
+#if !defined(_CRT_SECURE_NO_WARNINGS)
+#define _CRT_SECURE_NO_WARNINGS
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>