mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibCore: Fix Notifier.cpp compilation errors on Windows
This commit is contained in:
parent
bec86d2e5e
commit
e13e313bf6
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