MdeModulePkg/BrotliCustomDecompressLib: Disable C4559 MSVC warning

Disables redefinition warning due to win 10 sdk to fix build using MSVC
toolchain

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
Savva Mitrofanov 2023-02-03 17:44:30 +06:00 committed by Mikhail Krichanov
parent 12ba277a2d
commit 656cd26abc
1 changed files with 9 additions and 0 deletions

View File

@ -71,3 +71,12 @@
DebugLib
BaseMemoryLib
ExtractGuidedSectionLib
[BuildOptions]
#
# Disables the following Visual Studio compiler warnings brought by brotli source,
# so we do not break the build with /WX option:
# C4559: 'function' : redefinition; the function gains __declspec(restrict)
#
MSFT:*_*_IA32_CC_FLAGS = /wd4559
MSFT:*_*_X64_CC_FLAGS = /wd4559