mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibTLS: Port to Windows
This commit is contained in:
parent
ea469fbeab
commit
8ac5424f3a
Notes:
github-actions[bot]
2024-12-15 07:21:11 +00:00
Author: https://github.com/stasoid
Commit: 8ac5424f3a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2913
2 changed files with 5 additions and 4 deletions
|
@ -14,3 +14,8 @@ serenity_lib(LibTLS tls)
|
|||
target_link_libraries(LibTLS PRIVATE LibCore LibCrypto LibFileSystem)
|
||||
|
||||
include(ca_certificates_data)
|
||||
|
||||
if (WIN32)
|
||||
find_package(pthread REQUIRED)
|
||||
target_include_directories(LibTLS PRIVATE ${PTHREAD_INCLUDE_DIR})
|
||||
endif()
|
||||
|
|
|
@ -23,10 +23,6 @@
|
|||
#include <LibTLS/TLSv12.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef SOCK_NONBLOCK
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
namespace TLS {
|
||||
|
||||
void TLSv12::consume(ReadonlyBytes record)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue