mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +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)
|
target_link_libraries(LibTLS PRIVATE LibCore LibCrypto LibFileSystem)
|
||||||
|
|
||||||
include(ca_certificates_data)
|
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 <LibTLS/TLSv12.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#ifndef SOCK_NONBLOCK
|
|
||||||
# include <sys/ioctl.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace TLS {
|
namespace TLS {
|
||||||
|
|
||||||
void TLSv12::consume(ReadonlyBytes record)
|
void TLSv12::consume(ReadonlyBytes record)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue