vcpkg/ports/botan/fix-C2338.patch

14 lines
375 B
Diff
Raw Normal View History

2018-07-10 18:35:30 +08:00
diff --git a/cc/msvc.txt b/cc/msvc.txt
index ed32a3c..9e78fff 100644
--- a/cc/msvc.txt
+++ b/cc/msvc.txt
@@ -10,7 +10,7 @@ add_include_dir_option "/I"
add_lib_dir_option "/LIBPATH:"
add_lib_option ""
-compile_flags "/nologo /c"
+compile_flags "/nologo /c /D_ENABLE_EXTENDED_ALIGNED_STORAGE"
optimization_flags "/O2 /Oi"
size_optimization_flags "/O1 /Os"