mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
LibCore: Fix Notifier.cpp compilation errors on Windows
This commit is contained in:
parent
d6bcd3fb0b
commit
b8991174f6
3 changed files with 10 additions and 1 deletions
|
@ -110,3 +110,8 @@ endif()
|
|||
if (ANDROID)
|
||||
target_link_libraries(LibCore PRIVATE log)
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
find_path(PTHREAD_INCLUDE_DIR pthread.h REQUIRED)
|
||||
target_include_directories(LibCore PRIVATE ${PTHREAD_INCLUDE_DIR})
|
||||
endif()
|
||||
|
|
|
@ -41,7 +41,7 @@ private:
|
|||
|
||||
int m_fd { -1 };
|
||||
bool m_is_enabled { false };
|
||||
pthread_t m_owner_thread { 0 };
|
||||
pthread_t m_owner_thread {};
|
||||
Type m_type { Type::None };
|
||||
};
|
||||
|
||||
|
|
|
@ -71,6 +71,10 @@
|
|||
"simd"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pthread",
|
||||
"platform": "windows"
|
||||
},
|
||||
"simdutf",
|
||||
{
|
||||
"name": "skia",
|
||||
|
|
Loading…
Reference in a new issue