File tree 1 file changed +7
-0
lines changed 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -664,6 +664,7 @@ static bool zend_call_stack_get_netbsd(zend_call_stack *stack)
664
664
#endif /* defined(__NetBSD__) */
665
665
666
666
#if defined(__sun )
667
+ # if defined(HAVE_PTHREAD_ATTR_GET_NP ) && defined(HAVE_PTHREAD_ATTR_GETSTACK )
667
668
static bool zend_call_stack_get_solaris_pthread (zend_call_stack * stack )
668
669
{
669
670
pthread_attr_t attr ;
@@ -694,6 +695,12 @@ static bool zend_call_stack_get_solaris_pthread(zend_call_stack *stack)
694
695
695
696
return true;
696
697
}
698
+ # else /* defined(HAVE_PTHREAD_ATTR_GET_NP) && defined(HAVE_PTHREAD_ATTR_GETSTACK) */
699
+ static bool zend_call_stack_get_solaris_pthread (zend_call_stack * stack )
700
+ {
701
+ return false;
702
+ }
703
+ # endif /* defined(HAVE_PTHREAD_ATTR_GET_NP) && defined(HAVE_PTHREAD_ATTR_GETSTACK) */
697
704
698
705
static bool zend_call_stack_get_solaris_proc_maps (zend_call_stack * stack )
699
706
{
You can’t perform that action at this time.
0 commit comments