ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / web / firefox / patches / patch-js_src_util_NativeStack.cpp.patch
blobd4c18014b46578ea0aa56965463f9b63cef519a6
1 diff --git a/js/src/util/NativeStack.cpp b/js/src/util/NativeStack.cpp
2 index b988fae..35c51ad 100644
3 --- a/js/src/util/NativeStack.cpp
4 +++ b/js/src/util/NativeStack.cpp
5 @@ -13,7 +13,7 @@
6 # if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
7 # include <pthread_np.h>
8 # endif
9 -# if defined(SOLARIS) || defined(AIX)
10 +# if defined(SOLARIS) || defined(__sun) || defined(AIX)
11 # include <ucontext.h>
12 # endif
13 # if defined(ANDROID) && !defined(__aarch64__)
14 @@ -40,7 +40,7 @@ void* js::GetNativeStackBaseImpl() {
15 return static_cast<void*>(pTib->StackBase);
18 -#elif defined(SOLARIS)
19 +#elif defined(SOLARIS) || defined(__sun)
21 JS_STATIC_ASSERT(JS_STACK_GROWTH_DIRECTION < 0);