diff options
| author | Allan Jude <allanjude@FreeBSD.org> | 2023-01-25 01:20:16 +0000 |
|---|---|---|
| committer | Allan Jude <allanjude@FreeBSD.org> | 2023-01-25 01:20:16 +0000 |
| commit | b3392d84da5bf2162baf937c77e0557f3fd8a52b (patch) | |
| tree | d9bfa8081b46f82d07e21f8ff8e70627a2aec35f /programs/platform.h | |
| parent | f6ae97673c28bdb9ae795bd235ab6f26f2536a2d (diff) | |
Import zstd 1.5.2vendor/zstd/1.5.2vendor/zstd
Diffstat (limited to 'programs/platform.h')
| -rw-r--r-- | programs/platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/platform.h b/programs/platform.h index 68be70bb333b..b858e3b484c2 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020, Przemyslaw Skibinski, Yann Collet, Facebook, Inc. + * Copyright (c) Przemyslaw Skibinski, Yann Collet, Facebook, Inc. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the @@ -22,6 +22,7 @@ extern "C" { ****************************************/ #if defined(_MSC_VER) # define _CRT_SECURE_NO_WARNINGS /* Disable Visual Studio warning messages for fopen, strncpy, strerror */ +# define _CRT_NONSTDC_NO_WARNINGS /* Disable C4996 complaining about posix function names */ # if (_MSC_VER <= 1800) /* 1800 == Visual Studio 2013 */ # define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */ # define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */ |
