mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01:00
LibTLS: Port to Windows
This commit is contained in:
parent
ea469fbeab
commit
8ac5424f3a
|
|
@ -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…
Reference in New Issue
Block a user