summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authornipos <ni.pos@yandex.com>2023-02-25 19:50:40 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-03-04 21:34:54 -0700
commitaa9f1ee889e029acadd060b69c4b15020017c3bd (patch)
treeaecf50cc7d6750b8aabad41c68a859597e3ff26b /AK
parentf8ed51e5dc80e3893c25571b911cab3e2cbfb10b (diff)
downloadserenity-aa9f1ee889e029acadd060b69c4b15020017c3bd.zip
AK: Add support for Solaris to StackInfo
Diffstat (limited to 'AK')
-rw-r--r--AK/StackInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/StackInfo.cpp b/AK/StackInfo.cpp
index fcd7860516..b932e5e27b 100644
--- a/AK/StackInfo.cpp
+++ b/AK/StackInfo.cpp
@@ -12,7 +12,7 @@
#ifdef AK_OS_SERENITY
# 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>
#elif defined(AK_OS_FREEBSD) or defined(AK_OS_OPENBSD)
# include <pthread.h>
@@ -32,7 +32,7 @@ StackInfo::StackInfo()
perror("get_stack_bounds");
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;
pthread_attr_t attr;
pthread_attr_init(&attr);