[WinCairo][curl] Define NOCRYPT to suppress libressl "Warning, overriding WinCrypt...
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Sep 2019 07:26:17 +0000 (07:26 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Sep 2019 07:26:17 +0000 (07:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=201858

Reviewed by Alex Christensen.

LibreSSL headers are reporing a compilation warning for overriding
WinCrypt defines. Define NOCRYPT to let windows.h not to include
WinCrypt for WinCairo port.

* Source/cmake/OptionsWinCairo.cmake: Added -DNOCRYPT.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249944 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/cmake/OptionsWinCairo.cmake

index 0161f9c..8667f88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2019-09-17  Fujii Hironori  <Hironori.Fujii@sony.com>
+
+        [WinCairo][curl] Define NOCRYPT to suppress libressl "Warning, overriding WinCrypt defines"
+        https://bugs.webkit.org/show_bug.cgi?id=201858
+
+        Reviewed by Alex Christensen.
+
+        LibreSSL headers are reporing a compilation warning for overriding
+        WinCrypt defines. Define NOCRYPT to let windows.h not to include
+        WinCrypt for WinCairo port.
+
+        * Source/cmake/OptionsWinCairo.cmake: Added -DNOCRYPT.
+
 2019-09-15  Adrian Perez de Castro  <aperez@igalia.com>
 
         [GTK][WPE] Do not run the Bubblewrap executable when configuring for cross-compilation
index 17a8216..5d96bd2 100644 (file)
@@ -41,6 +41,7 @@ set(COREFOUNDATION_LIBRARY CFlite)
 SET_AND_EXPOSE_TO_BUILD(ENABLE_DEVELOPER_MODE ${DEVELOPER_MODE})
 
 add_definitions(-DWTF_PLATFORM_WIN_CAIRO=1)
+add_definitions(-DNOCRYPT)
 
 # Override headers directories
 set(ANGLE_FRAMEWORK_HEADERS_DIR ${CMAKE_BINARY_DIR}/ANGLE/Headers)