diff options
author | Eugene Kliuchnikov <eustas.ru@gmail.com> | 2020-07-02 19:45:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 19:45:57 +0200 |
commit | fc823290a76a260b7ba6f47ab5f52064a0ce19ff (patch) | |
tree | e8828a1f11105c3d4eb7d072ca47205156f839dd | |
parent | 5519352661a948f91232b52ec2146c398020dbbe (diff) | |
download | brotli-fc823290a76a260b7ba6f47ab5f52064a0ce19ff.zip brotli-fc823290a76a260b7ba6f47ab5f52064a0ce19ff.tar.gz brotli-fc823290a76a260b7ba6f47ab5f52064a0ce19ff.tar.bz2 |
Mute strerror/strcpy warnings is MSVC build. (#815)
-rw-r--r-- | c/tools/brotli.c | 5 |
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> |