mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
AK: Add support for Solaris to StackInfo
This commit is contained in:
parent
f8ed51e5dc
commit
aa9f1ee889
Notes:
sideshowbarker
2024-07-19 16:54:42 +09:00
Author: https://github.com/ghost
Commit: aa9f1ee889
Pull-request: https://github.com/SerenityOS/serenity/pull/17623
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/elcuco
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
Reviewed-by: https://github.com/linusg
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#ifdef AK_OS_SERENITY
|
#ifdef AK_OS_SERENITY
|
||||||
# include <serenity.h>
|
# include <serenity.h>
|
||||||
#elif defined(AK_OS_LINUX) or defined(AK_OS_MACOS) or defined(AK_OS_NETBSD)
|
#elif defined(AK_OS_LINUX) or defined(AK_OS_MACOS) or defined(AK_OS_NETBSD) or defined(AK_OS_SOLARIS)
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
#elif defined(AK_OS_FREEBSD) or defined(AK_OS_OPENBSD)
|
#elif defined(AK_OS_FREEBSD) or defined(AK_OS_OPENBSD)
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
|
@ -32,7 +32,7 @@ StackInfo::StackInfo()
|
||||||
perror("get_stack_bounds");
|
perror("get_stack_bounds");
|
||||||
VERIFY_NOT_REACHED();
|
VERIFY_NOT_REACHED();
|
||||||
}
|
}
|
||||||
#elif defined(AK_OS_LINUX) or defined(AK_OS_FREEBSD) or defined(AK_OS_NETBSD)
|
#elif defined(AK_OS_LINUX) or defined(AK_OS_FREEBSD) or defined(AK_OS_NETBSD) or defined(AK_OS_SOLARIS)
|
||||||
int rc;
|
int rc;
|
||||||
pthread_attr_t attr;
|
pthread_attr_t attr;
|
||||||
pthread_attr_init(&attr);
|
pthread_attr_init(&attr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue