ntdll: Get rid of obsolete KERN_THALTSTACK sysctl.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-04-30 09:54:26 +02:00
parent 734a17bdae
commit 5dcb9ddff7
1 changed files with 0 additions and 11 deletions

View File

@ -45,9 +45,6 @@
#ifdef HAVE_SYS_SIGNAL_H #ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h> # include <sys/signal.h>
#endif #endif
#ifdef HAVE_SYS_SYSCTL_H
# include <sys/sysctl.h>
#endif
#ifdef HAVE_SYS_UCONTEXT_H #ifdef HAVE_SYS_UCONTEXT_H
# include <sys/ucontext.h> # include <sys/ucontext.h>
#endif #endif
@ -2593,14 +2590,6 @@ void signal_init_thread( TEB *teb )
struct x86_thread_data *thread_data = (struct x86_thread_data *)teb->SystemReserved2; struct x86_thread_data *thread_data = (struct x86_thread_data *)teb->SystemReserved2;
stack_t ss; stack_t ss;
#ifdef __APPLE__
int mib[2], val = 1;
mib[0] = CTL_KERN;
mib[1] = KERN_THALTSTACK;
sysctl( mib, 2, NULL, NULL, &val, sizeof(val) );
#endif
ss.ss_sp = (char *)teb + teb_size; ss.ss_sp = (char *)teb + teb_size;
ss.ss_size = signal_stack_size; ss.ss_size = signal_stack_size;
ss.ss_flags = 0; ss.ss_flags = 0;