mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
AK/StackInfo: Add support for NetBSD
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 16:56:37 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/5b147f29abf Pull-request: https://github.com/SerenityOS/serenity/pull/17553 Reviewed-by: https://github.com/kleinesfilmroellchen ✅
@@ -12,7 +12,7 @@
|
||||
|
||||
#ifdef AK_OS_SERENITY
|
||||
# include <serenity.h>
|
||||
#elif defined(AK_OS_LINUX) or defined(AK_OS_MACOS)
|
||||
#elif defined(AK_OS_LINUX) or defined(AK_OS_MACOS) or defined(AK_OS_NETBSD)
|
||||
# include <pthread.h>
|
||||
#elif defined(AK_OS_FREEBSD) or defined(AK_OS_OPENBSD)
|
||||
# include <pthread.h>
|
||||
@@ -28,7 +28,7 @@ StackInfo::StackInfo()
|
||||
perror("get_stack_bounds");
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
#elif defined(AK_OS_LINUX) or defined(AK_OS_FREEBSD)
|
||||
#elif defined(AK_OS_LINUX) or defined(AK_OS_FREEBSD) or defined(AK_OS_NETBSD)
|
||||
int rc;
|
||||
pthread_attr_t attr;
|
||||
pthread_attr_init(&attr);
|
||||
|
||||
Reference in New Issue
Block a user